[Buildbot-commits] buildbot/buildbot pbutil.py,1.7,1.8 master.py,1.56,1.57

Brian Warner warner at users.sourceforge.net
Mon Dec 6 07:36:36 UTC 2004


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

Modified Files:
	pbutil.py master.py 
Log Message:
* buildbot/master.py (DebugPerspective.attached): return 'self', to
match the maybeDeferred change in Dispatcher.requestAvatar
* buildbot/changes/pb.py (ChangePerspective.attached): same
* buildbot/status/client.py (StatusClientPerspective.attached): same
* buildbot/process/builder.py (Builder._attached3): same
* buildbot/pbutil.py (NewCredPerspective.attached): same


Index: master.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/master.py,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- master.py	4 Dec 2004 21:12:19 -0000	1.56
+++ master.py	6 Dec 2004 07:36:34 -0000	1.57
@@ -436,7 +436,7 @@
 
 class DebugPerspective(NewCredPerspective):
     def attached(self, mind):
-        pass
+        return self
     def detached(self, mind):
         pass
 

Index: pbutil.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/pbutil.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- pbutil.py	5 Dec 2003 20:38:51 -0000	1.7
+++ pbutil.py	6 Dec 2004 07:36:34 -0000	1.8
@@ -10,7 +10,7 @@
 
 class NewCredPerspective(pb.Avatar):
     def attached(self, mind):
-        pass
+        return self
     def detached(self, mind):
         pass
 





More information about the Commits mailing list