aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-11-04 15:06:27 +0100
committerGuido Guenther <agx@sigxcpu.org>2007-11-04 16:16:26 +0100
commit812759f12fcce669c72741ddd313103449fd0045 (patch)
tree6d7dbf7dd24b12c6aac0cd816708d258b66a991e
parent2f6a2d3bd1c2fda24be7aa09940e3e5ece676c8c (diff)
rmeove unneeded GitLoadDirs
-rw-r--r--gbp/command_wrappers.py17
1 files changed, 1 insertions, 16 deletions
diff --git a/gbp/command_wrappers.py b/gbp/command_wrappers.py
index f275474..8a93ff4 100644
--- a/gbp/command_wrappers.py
+++ b/gbp/command_wrappers.py
@@ -46,7 +46,7 @@ class Command(object):
print >>sys.stderr, "Execution failed:", e
retcode = 1
if retcode:
- print >>sys.stderr,self.run_error
+ print >>sys.stderr, self.run_error
return retcode
def __call__(self, args=[]):
@@ -101,21 +101,6 @@ class DpkgSourceExtract(Command):
Command.__call__(self, [dsc, output_dir])
-class GitLoadDirs(Command):
- """Wrap git_load_dirs"""
- def __init__(self, verbose=False):
- Command.__init__(self, 'git_load_dirs')
- if verbose:
- self.args = [ '-v' ]
-
- def __call__(self, dir, summary, log=''):
- self.dir = dir
- self.run_error = "Couldn't import %s" % self.dir
- args = ['-s', summary]
- args += [ [], ['-L', log] ] [len(log) > 0]
- Command.__call__(self, self.args + args + [dir])
-
-
class GitCommand(Command):
"Mother/Father of all git commands"
def __init__(self, cmd, args=[]):