[llvm-commits] [zorg] r172173 - /zorg/trunk/buildbot/llvmlab/master/config/schedulers.py
David Dean
david_dean at apple.com
Thu Jan 10 20:57:00 PST 2013
Author: ddean
Date: Thu Jan 10 22:57:00 2013
New Revision: 172173
URL: http://llvm.org/viewvc/llvm-project?rev=172173&view=rev
Log:
Fix changefilter syntax.
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=172173&r1=172172&r2=172173&view=diff
==============================================================================
--- zorg/trunk/buildbot/llvmlab/master/config/schedulers.py (original)
+++ zorg/trunk/buildbot/llvmlab/master/config/schedulers.py Thu Jan 10 22:57:00 2013
@@ -39,7 +39,6 @@
return split_stages
def _tracked_projects(change):
- changedict = change.asDict()
projects = ['cfe',
# 'clang-tests-external',
'clang-tests',
@@ -55,9 +54,9 @@
# 'polly',
'test-suite',
]
- if changedict['category'] or 'trunk' not in changedict['branch']:
- return
- if changedict['project'] in projects:
+ if change.category or 'trunk' not in Change.branch:
+ return false
+ if change.project in projects:
return true
else:
return false
More information about the llvm-commits
mailing list