diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-11-20 17:53:46 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-11-20 18:07:22 +0100 |
commit | 4aa178022def247834f7ecfc45b5defbe9270d09 (patch) | |
tree | 8097312404aeb6e2816da0a95290bc1be6f70f8e /gbp/git | |
parent | d616dd152f1e30a58db176826d8c5d05612ef5e9 (diff) |
GitRepository: Return GitModifier from get_author_info
Diffstat (limited to 'gbp/git')
-rw-r--r-- | gbp/git/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/git/__init__.py b/gbp/git/__init__.py index 775da633..b1e419c3 100644 --- a/gbp/git/__init__.py +++ b/gbp/git/__init__.py @@ -623,7 +623,7 @@ class GitRepository(object): config and environment variables. @return: name and email - @rtype: C{tuple} + @rtype: L{GitModifier} """ try: name = self.get_config("user.email") @@ -635,7 +635,7 @@ class GitRepository(object): email = os.getenv("EMAIL") email = os.getenv("GIT_AUTHOR_EMAIL", email) name = os.getenv("GIT_AUTHOR_NAME", name) - return (name, email) + return GitModifier(name, email) #{ Remote Repositories |