# HG changeset patch # User Jeff Hammel # Date 1295810143 28800 # Node ID a14d466c843b10f9b554a19b676f1639e7b7f60d # Parent 7d0a4c2cd1715ba95bdb6e4b8701f3e13a1861fa fix syntax error and note import errors in projects diff -r 7d0a4c2cd171 -r a14d466c843b autobot/projects/__init__.py --- a/autobot/projects/__init__.py Sun Jan 23 10:57:43 2011 -0800 +++ b/autobot/projects/__init__.py Sun Jan 23 11:15:43 2011 -0800 @@ -2,16 +2,17 @@ projects that need some testing: * logparser [WORKING] +* autobot [IN FLIGHT] * mozmill [IN FLIGHT] * devicemanager [IN FLIGHT] * profilemanager [IN FLIGHT] * firebug [TODO] * jetpack thing [TODO] -* autobot [TODO] """ import imp import os +import sys from buildbot.process.factory import BuildFactory from logparser import TestLogParserFactory from mozmill import TestMozmillFactory @@ -30,6 +31,7 @@ try: module = imp.load_package('autobot.projects.'+package, imp.find_module(package, [here])[1]) except: + print >> sys.stderr, "Could not import autobot.projects." + package continue for attr in dir(module): try: diff -r 7d0a4c2cd171 -r a14d466c843b autobot/projects/autobot/__init__.py --- a/autobot/projects/autobot/__init__.py Sun Jan 23 10:57:43 2011 -0800 +++ b/autobot/projects/autobot/__init__.py Sun Jan 23 11:15:43 2011 -0800 @@ -26,7 +26,7 @@ self.addStep(ShellCommand(command=[WithProperties('%(create-autobot)s'), '-f', '-', # all factories, '--slaveport', str(slaveport), - '--htmlport', str(htmlport) + '--htmlport', str(htmlport), 'bot'], description="make an autobot", workdir=WithProperties('%(virtualenv)s'),