[Buildbot-commits] buildbot/buildbot/process base.py,1.78,1.79

Brian Warner warner at users.sourceforge.net
Thu May 22 22:12:12 UTC 2008


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

Modified Files:
	base.py 
Log Message:
[project @ #87:customprops-fix-debugclient.patch]
Patch by gward to teach DebugPerspective? and debugclient about custom
build properties

Original author: dustin at v.igoro.us
Date: 2008-04-04 04:09:12+00:00

Index: base.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/base.py,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- base.py	22 May 2008 22:12:05 -0000	1.78
+++ base.py	22 May 2008 22:12:10 -0000	1.79
@@ -66,6 +66,8 @@
 
         if not custom_props: custom_props = {}
         self.custom_props = custom_props
+        assert isinstance(self.custom_props, dict), \
+               "custom_props must be a dict (not %r)" % (self.custom_props,)
 
         self.start_watchers = []
         self.finish_watchers = []





More information about the Commits mailing list