[Buildbot-commits] buildbot/buildbot/changes changes.py,1.24,1.25
Brian Warner
warner at users.sourceforge.net
Tue May 24 18:57:52 UTC 2005
Update of /cvsroot/buildbot/buildbot/buildbot/changes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24023/buildbot/changes
Modified Files:
changes.py
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-223
Creator: Brian Warner <warner at monolith.lothar.com>
handle old Change instances without exploding
* buildbot/changes/changes.py (Change.branch): doh! Add a
class-level attribute to accomodate old Change instances that were
pickled before 0.6.5 (where .branch was added for new Changes).
This fixes the exception that occurs when you try to look at an
old Change (through asHTML).
* buildbot/__init__.py (version): bump to 0.6.6+ while between
releases
Index: changes.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/changes/changes.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- changes.py 18 May 2005 07:49:29 -0000 1.24
+++ changes.py 24 May 2005 18:57:49 -0000 1.25
@@ -57,8 +57,10 @@
else:
__implements__ = interfaces.IStatusEvent,
- links = []
number = None
+
+ links = []
+ branch = None
revision = None # used to create a source-stamp
def __init__(self, who, files, comments, isdir=0, links=[],
More information about the Commits
mailing list