[llvm-commits] [zorg] r172135 - /zorg/trunk/buildbot/llvmlab/master/config/schedulers.py
David Dean
david_dean at apple.com
Thu Jan 10 14:44:45 PST 2013
Author: ddean
Date: Thu Jan 10 16:44:45 2013
New Revision: 172135
URL: http://llvm.org/viewvc/llvm-project?rev=172135&view=rev
Log:
Correctly reference chage object as a dictionary instead of the object itself.
Modified:
zorg/trunk/buildbot/llvmlab/master/config/schedulers.py
Modified: zorg/trunk/buildbot/llvmlab/master/config/schedulers.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/llvmlab/master/config/schedulers.py?rev=172135&r1=172134&r2=172135&view=diff
==============================================================================
--- zorg/trunk/buildbot/llvmlab/master/config/schedulers.py (original)
+++ zorg/trunk/buildbot/llvmlab/master/config/schedulers.py Thu Jan 10 16:44:45 2013
@@ -39,6 +39,7 @@
return split_stages
def _tracked_projects(change):
+ changedict = change.asDict
projects = ['cfe',
# 'clang-tests-external',
'clang-tests',
@@ -54,9 +55,9 @@
# 'polly',
'test-suite',
]
- if change['category'] or 'trunk' not in change['branch']:
+ if changedict['category'] or 'trunk' not in changedict['branch']:
return
- if change['project'] in projects:
+ if changedict['project'] in projects:
return true
else:
return false
More information about the llvm-commits
mailing list