extras-buildsys/utils ExtrasPushUtils.py, 1.3, 1.4 extras-push-new, 1.51, 1.52

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sun Aug 20 22:51:52 UTC 2006


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6080

Modified Files:
	ExtrasPushUtils.py extras-push-new 
Log Message:
fix DEBUG global in module


Index: ExtrasPushUtils.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/ExtrasPushUtils.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ExtrasPushUtils.py	20 Aug 2006 12:53:17 -0000	1.3
+++ ExtrasPushUtils.py	20 Aug 2006 22:51:49 -0000	1.4
@@ -36,6 +36,10 @@
 
 DEBUG = False
 
+def setdebug(onoff):
+    global DEBUG
+    DEBUG = onoff
+    
 def debugprint(msg):
     if DEBUG:
         print msg


Index: extras-push-new
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-push-new,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- extras-push-new	20 Aug 2006 12:53:17 -0000	1.51
+++ extras-push-new	20 Aug 2006 22:51:49 -0000	1.52
@@ -28,6 +28,7 @@
 from ExtrasPushUtils import *
 
 DEBUG = False
+setdebug(DEBUG)
 
 signkeyname = 'extras at fedoraproject.org'
 




More information about the scm-commits mailing list