[llvm-commits] [zorg] r141395 - /zorg/trunk/llvmlab/llvmlab/ci/buildbot/statusclient.py
Daniel Dunbar
daniel at zuster.org
Fri Oct 7 12:54:49 PDT 2011
Author: ddunbar
Date: Fri Oct 7 14:54:49 2011
New Revision: 141395
URL: http://llvm.org/viewvc/llvm-project?rev=141395&view=rev
Log:
llvmlab: Fix a bug where freshly added builders ended up inadvertently sharing a
build list.
Modified:
zorg/trunk/llvmlab/llvmlab/ci/buildbot/statusclient.py
Modified: zorg/trunk/llvmlab/llvmlab/ci/buildbot/statusclient.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/llvmlab/ci/buildbot/statusclient.py?rev=141395&r1=141394&r2=141395&view=diff
==============================================================================
--- zorg/trunk/llvmlab/llvmlab/ci/buildbot/statusclient.py (original)
+++ zorg/trunk/llvmlab/llvmlab/ci/buildbot/statusclient.py Fri Oct 7 14:54:49 2011
@@ -39,10 +39,10 @@
'last_poll' : self.last_poll }
def __init__(self, name, last_build_number = None,
- active_builds = set(), last_poll = -1):
+ active_builds = [], last_poll = -1):
self.name = name
self.last_build_number = last_build_number
- self.active_builds = active_builds
+ self.active_builds = set(active_builds)
self.last_poll = last_poll
class StatusClient(object):
More information about the llvm-commits
mailing list