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:
82750c0
)
git: Actually include the missing key name in the KeyError message
author
Emanuele Aina
<emanuele.aina@collabora.com>
Mon, 5 Apr 2021 20:40:57 +0000
(22:40 +0200)
committer
Guido Günther
<agx@sigxcpu.org>
Thu, 30 Sep 2021 14:23:12 +0000
(16:23 +0200)
Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
gbp/git/repository.py
patch
|
blob
|
history
diff --git
a/gbp/git/repository.py
b/gbp/git/repository.py
index 75b3e035766e5750ac9f2992c2d8d235a8057381..6395778986f428937d1c802a35f59409e6421d40 100644
(file)
--- a/
gbp/git/repository.py
+++ b/
gbp/git/repository.py
@@
-1119,7
+1119,7
@@
class GitRepository(object):
"""
value, ret = self._git_getoutput('config', [name])
if ret:
- raise KeyError("'%s' not found in git config")
+ raise KeyError("'%s' not found in git config"
% name
)
return value[0].decode()[:-1] # first line with \n ending removed
def set_config(self, name, value):