[zorg] r188633 - [llvmlab] config is not a system module. Move it in the custom python module section of imports.
Michael Gottesman
mgottesman at apple.com
Sun Aug 18 02:14:12 PDT 2013
Author: mgottesman
Date: Sun Aug 18 04:14:12 2013
New Revision: 188633
URL: http://llvm.org/viewvc/llvm-project?rev=188633&view=rev
Log:
[llvmlab] config is not a system module. Move it in the custom python module section of imports.
Modified:
zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py
Modified: zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py?rev=188633&r1=188632&r2=188633&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py (original)
+++ zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py Sun Aug 18 04:14:12 2013
@@ -1,5 +1,4 @@
import buildbot
-import config
import json
import os
import StringIO
@@ -9,8 +8,12 @@ from buildbot.steps.shell import SetProp
from buildbot.steps.shell import WithProperties
from buildbot.steps.trigger import Trigger
from datetime import datetime, date, time
+
import zorg
+import config
+reload(config)
+
class NamedTrigger(Trigger):
"""Trigger subclass which allows overriding the trigger name, and also
allows attaching a log to link to the triggered builds."""
More information about the llvm-commits
mailing list