Mercurial > hg > autobot
changeset 131:a14d466c843b
fix syntax error and note import errors in projects
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 23 Jan 2011 11:15:43 -0800 |
parents | 7d0a4c2cd171 |
children | da7af78edcb5 |
files | autobot/projects/__init__.py autobot/projects/autobot/__init__.py |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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:
--- 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'),