[Buildbot-commits] buildbot/buildbot interfaces.py,1.58,1.59

Brian Warner warner at users.sourceforge.net
Sun Aug 12 07:43:49 UTC 2007


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

Modified Files:
	interfaces.py 
Log Message:
[project @ interfaces: small improvement to IBuildStatus.getProperty]

Original author: warner at lothar.com
Date: 2007-08-12 07:27:08+00:00

Index: interfaces.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/interfaces.py,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- interfaces.py	2 Aug 2007 00:26:59 -0000	1.58
+++ interfaces.py	12 Aug 2007 07:43:47 -0000	1.59
@@ -357,7 +357,8 @@
         callback is given this IBuildStatus instance as an argument."""
 
     def getProperty(propname):
-        """Return the value of the build property with the given name."""
+        """Return the value of the build property with the given name. Raises
+        KeyError if there is no such property on this build."""
 
     def getReason():
         """Return a string that indicates why the build was run. 'changes',





More information about the Commits mailing list