deb.git: Fixed typo in method name
authorEd Bartosh <eduard.bartosh@intel.com>
Tue, 5 Jun 2012 11:39:40 +0000 (14:39 +0300)
committerGuido Günther <agx@sigxcpu.org>
Sun, 17 Jun 2012 08:25:47 +0000 (10:25 +0200)
the double underscore prefix was dropped ages ago.

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
gbp/deb/git.py

index 7e13b5e..c9004ef 100644 (file)
@@ -51,7 +51,7 @@ class DebianGitRepository(GitRepository):
             # dereference to a commit object
             return self.rev_parse("%s^0" % tag)
         elif self.has_tag(legacy_tag):
-            out, ret = self.__git_getoutput('cat-file', args=['-p', legacy_tag])
+            out, ret = self._git_getoutput('cat-file', args=['-p', legacy_tag])
             if ret:
                 return None
             for line in out: