[jhbuild] [buildbot] update JHBuildModulePathCommand for buildbot 0.7.12



commit 2e5dec8d94cfce19f9b5fe505dc1f99229c3f923
Author: Frédéric Péters <fpeters 0d be>
Date:   Fri Jun 18 17:53:54 2010 +0200

    [buildbot] update JHBuildModulePathCommand for buildbot 0.7.12

 jhbuild/buildbot/steps.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/jhbuild/buildbot/steps.py b/jhbuild/buildbot/steps.py
index f88b494..5a7b885 100644
--- a/jhbuild/buildbot/steps.py
+++ b/jhbuild/buildbot/steps.py
@@ -221,7 +221,7 @@ class JHBuildModulePathCommand(steps.shell.ShellCommand):
 
     # things to track: number of files compiled, number of directories
     # traversed (assuming 'make' is being used)
-    def __init__(self, module=None, moduleset=None, action='', **kwargs):
+    def __init__(self, module=None, moduleset=None, action='', actionName='', **kwargs):
         assert module is not None
         kwargs['workdir'] = "./"
         #workdir = "./"
@@ -231,9 +231,9 @@ class JHBuildModulePathCommand(steps.shell.ShellCommand):
         actionParts = action.split(" ")
         command += ['run', '--in-builddir', module, '--']
         command += actionParts
-        self.name=module + " " + kwargs['actionName']
-        self.description = [kwargs['actionName'] + ' (running)']
-        self.descriptionDone = [kwargs['actionName']]
+        self.name = module + " " + actionName
+        self.description = actionName + ' (running)'
+        self.descriptionDone = [actionName]
         steps.shell.ShellCommand.__init__(self, description=self.description,
                                    descriptionDone=self.descriptionDone, command=command, **kwargs)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]