Mercurial > hgsubversion
comparison tag_repo.py @ 327:98740f66a70c
Remove leftover debug info.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Sat, 09 May 2009 12:26:59 +0200 |
parents | 33736e2e25f0 |
children |
comparison
equal
deleted
inserted
replaced
326:33736e2e25f0 | 327:98740f66a70c |
---|---|
23 Filter for instance methods which require the first argument | 23 Filter for instance methods which require the first argument |
24 to be a remote Subversion repository instance. | 24 to be a remote Subversion repository instance. |
25 ''' | 25 ''' |
26 original = repo.__getattribute__(fn.__name__) | 26 original = repo.__getattribute__(fn.__name__) |
27 def wrapper(self, *args, **opts): | 27 def wrapper(self, *args, **opts): |
28 print args | |
29 if not isinstance(args[0], svnremoterepo): | 28 if not isinstance(args[0], svnremoterepo): |
30 return original(*args, **opts) | 29 return original(*args, **opts) |
31 else: | 30 else: |
32 return fn(self, *args, **opts) | 31 return fn(self, *args, **opts) |
33 wrapper.__name__ = fn.__name__ + '_wrapper' | 32 wrapper.__name__ = fn.__name__ + '_wrapper' |