# HG changeset patch # User Jeff Hammel # Date 1295901029 28800 # Node ID 14430c384556bd29195545a1229926b640702698 # Parent 336702f580757b5c53e488f0818d729280e2f25c * fix syntax error * correctly unroll a list or something diff -r 336702f58075 -r 14430c384556 autobot/process/factory.py --- 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): """