jhbuild r2404 - in trunk: . jhbuild/buildbot



Author: itoral
Date: Thu Oct  2 16:51:35 2008
New Revision: 2404
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2404&view=rev

Log:
        * jhbuild/buildbot/steps.py: Fixed JHBuildModulePathCommand so
        that action is a string instead of a list. Also, fixed incorrect
        usage of the --in-builddir option when executing the action.



Modified:
   trunk/ChangeLog
   trunk/jhbuild/buildbot/steps.py

Modified: trunk/jhbuild/buildbot/steps.py
==============================================================================
--- trunk/jhbuild/buildbot/steps.py	(original)
+++ trunk/jhbuild/buildbot/steps.py	Thu Oct  2 16:51:35 2008
@@ -217,15 +217,14 @@
 
     # 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='', **kwargs):
         assert module is not None
         kwargs['workdir'] = "./"
         #workdir = "./"
         command = ["jhbuild"]
         if (moduleset is not None):
             command += ['--moduleset='+moduleset]
-        command += ['bot', '--step', 'run', '--in-builddir', module,
-                '--', action]
+        command += ['run', '--in-builddir', module, '--', action]
         self.name=module+" "+" ".join(action)
         self.description = [" ".join(action) + '(run)']
         self.descriptionDone = [" ".join(action)]



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