From e83ebfc853ede37a02c3bf6f09d2786bbef7080d Mon Sep 17 00:00:00 2001 From: "Yaakov M. Nemoy" Date: Thu, 15 Jan 2009 18:46:14 -0500 Subject: Random bugfixes makes it work gets rid of _type madness fixes imports fixes random function signatures inserts a bloody stupid easter egg hack floats on a wooden raft --- modules/darcs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/darcs.py') diff --git a/modules/darcs.py b/modules/darcs.py index 943ebf0..2ca2f6c 100644 --- a/modules/darcs.py +++ b/modules/darcs.py @@ -35,7 +35,6 @@ date_re = re.compile(r'date=\'(\d*?)\'', re.MULTILINE) class Darcs(RevisionControl): '''manages single source packages where the primary source is darcs ''' - _type = 'darcs' def __init__(self, name=None, url=None, *args): if url: #split chokes on URLs that end in a / @@ -145,7 +144,7 @@ class Darcs(RevisionControl): date = date_re.search(change).groups()[0] self.cfg['head'] = (hash, date) - def set_cur_to(self, *args, branch_name=''): + def set_cur_to(self, branch_name='', *args): '''passes arbitrary args to darcs get and makes a branch out of it this is not really optimal, because it only does things temporary, -- cgit