GitRepository.has_treeish: minor pylint fix
authorLingchaox Xin <lingchaox.xin@intel.com>
Wed, 7 Aug 2013 02:24:36 +0000 (10:24 +0800)
committerGuido Günther <agx@sigxcpu.org>
Wed, 4 Sep 2013 20:32:09 +0000 (22:32 +0200)
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/git/repository.py

index 9f1987f3f32a01cebfd2bf2c60543a507e887b66..79492a1ebc3af5fd16dc047a046ff9a74091e47d 100644 (file)
@@ -838,7 +838,7 @@ class GitRepository(object):
         @return: C{True} if the repository has that tree, C{False} otherwise
         @rtype: C{bool}
         """
-        out, dummy, ret =  self._git_inout('ls-tree', [ treeish ],
+        _out, _err, ret =  self._git_inout('ls-tree', [treeish],
                                            capture_stderr=True)
         return [ True, False ][ret != 0]