[Buildbot-commits] buildbot/buildbot locks.py,1.5,1.6

Brian Warner warner at users.sourceforge.net
Sat Mar 22 22:15:07 UTC 2008


Update of /cvsroot/buildbot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20798/buildbot

Modified Files:
	locks.py 
Log Message:
[project @ locks.py: hush pyflakes]

Original author: warner at lothar.com
Date: 2008-03-22 22:06:59+00:00

Index: locks.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/locks.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- locks.py	24 Aug 2006 10:05:16 -0000	1.5
+++ locks.py	22 Mar 2008 22:15:05 -0000	1.6
@@ -5,11 +5,9 @@
 from buildbot import util
 
 if False: # for debugging
-    def debuglog(msg):
-        log.msg(msg)
+    debuglog = log.msg
 else:
-    def debuglog(msg):
-        pass
+    debuglog = lambda m: None
 
 class BaseLock:
     description = "<BaseLock>"





More information about the Commits mailing list