diff options
| author | Yaakov M. Nemoy <loupgaroublond@gmail.com> | 2009-02-03 18:54:48 +0100 |
|---|---|---|
| committer | Yaakov M. Nemoy <loupgaroublond@gmail.com> | 2009-02-03 18:54:48 +0100 |
| commit | 9d06b341952ff641d4e82734c3df302e464f4ce5 (patch) | |
| tree | b7bea1ec899ea93970dbb9c55d457bdefa645b5f /modules/darcs.py | |
| parent | f1bfe46bfd67ee2d817cd9ecdd7c5380003e39da (diff) | |
| download | fedora-devshell-9d06b341952ff641d4e82734c3df302e464f4ce5.tar.gz fedora-devshell-9d06b341952ff641d4e82734c3df302e464f4ce5.tar.xz fedora-devshell-9d06b341952ff641d4e82734c3df302e464f4ce5.zip | |
Refactors HaskellPort and Port to be more generic
Diffstat (limited to 'modules/darcs.py')
| -rw-r--r-- | modules/darcs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/darcs.py b/modules/darcs.py index 68bea98..4d2038f 100644 --- a/modules/darcs.py +++ b/modules/darcs.py @@ -51,7 +51,7 @@ class Darcs(RevisionControl): with pwd(self.branches_dir): self.get(self.dir, 'orig') self.set_current_src() - + def get(self, src, tgt, *args): '''sets up a branch given arguments, taken from a source with a target @@ -112,7 +112,7 @@ class Darcs(RevisionControl): if len(args) >= 2 and args[0] == 'new': branch_name = args[1] args = args[2:] - else: + else: branch_name = '' if len(args) == 1 and args[0] == 'head': log.debug('doing head') |
