summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-07-09 00:52:25 -0700
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>2012-07-09 00:52:25 -0700
commitdabb5f5658a8214b89a642fec9d7060afba51f3f (patch)
treeaa6bad0bb46afd4eab2bbc9affc869fdb9ac6f61
parent37970abca8002f4823ccb6390daafad5126fd1b0 (diff)
parent8514db79112094d1ba8d46cde41903517a9d10fb (diff)
downloadgit-buildpackage-dabb5f5658a8214b89a642fec9d7060afba51f3f.tar.gz
git-buildpackage-dabb5f5658a8214b89a642fec9d7060afba51f3f.tar.bz2
git-buildpackage-dabb5f5658a8214b89a642fec9d7060afba51f3f.zip
Merge "GitRepository/get_author_info: Fixed getting user name. Fixes #149" into devel
-rw-r--r--gbp/git/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index 46a5784b..503b3c5f 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -751,7 +751,7 @@ class GitRepository(object):
@rtype: L{GitModifier}
"""
try:
- name = self.get_config("user.email")
+ name = self.get_config("user.name")
except KeyError:
name = os.getenv("USER")
try: