projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c478a6
)
GitRepository.has_treeish: minor pylint fix
author
Lingchaox Xin
<lingchaox.xin@intel.com>
Wed, 7 Aug 2013 02:24:36 +0000
(10:24 +0800)
committer
Guido 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
patch
|
blob
|
history
diff --git
a/gbp/git/repository.py
b/gbp/git/repository.py
index 9f1987f3f32a01cebfd2bf2c60543a507e887b66..79492a1ebc3af5fd16dc047a046ff9a74091e47d 100644
(file)
--- a/
gbp/git/repository.py
+++ b/
gbp/git/repository.py
@@
-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]