changeset 137:14430c384556

* fix syntax error * correctly unroll a list or something
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 24 Jan 2011 12:30:29 -0800
parents 336702f58075
children 96234eec1a04
files autobot/process/factory.py
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/process/factory.py	Mon Jan 24 12:27:17 2011 -0800
+++ b/autobot/process/factory.py	Mon Jan 24 12:30:29 2011 -0800
@@ -58,16 +58,15 @@
     # TODO: should give more fine-grained control
 
     # clone hg repositories
-    for hg_source in self.sources.get('hg', ()):
+    for hg_source, branch in self.sources.get('hg', ()):
       self.addStep(ShellCommand(command=['hg', 'clone', hg_source],
                                 **kwargs))
 
     # clone the git repositories
-    for git_source in self.sources.get('git', ()):
+    for git_source, branch in self.sources.get('git', ()):
       self.addStep(ShellCommand(command=['git', 'clone', git_source],
-                                **kwargs)
+                                **kwargs))
     
-
                
 class VirtualenvFactory(SourceFactory):
   """