rmeove unneeded GitLoadDirs
authorGuido Guenther <agx@sigxcpu.org>
Sun, 4 Nov 2007 14:06:27 +0000 (15:06 +0100)
committerGuido Guenther <agx@sigxcpu.org>
Sun, 4 Nov 2007 15:16:26 +0000 (16:16 +0100)
gbp/command_wrappers.py

index f275474d25ccaa045f0d9b434f3f21e7cca325a1..8a93ff4fd085817aedb9190bc5492546a96bf126 100644 (file)
@@ -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=[]):