diff options
author | Emanuele Aina <emanuele.aina@collabora.com> | 2021-04-05 22:40:57 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2021-09-30 16:23:12 +0200 |
commit | 26d6cebc34b94360e27c428ef91ecca30a48d200 (patch) | |
tree | f95ac0de817efc307f4e265018776938a3b11b43 /gbp/git | |
parent | 82750c05dbdd627fa6b6c208f0fef30f6e574639 (diff) |
git: Actually include the missing key name in the KeyError message
Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
Diffstat (limited to 'gbp/git')
-rw-r--r-- | gbp/git/repository.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py index 75b3e035..63957789 100644 --- 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): |