summaryrefslogtreecommitdiff
path: root/gbp/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/git.py')
-rw-r--r--gbp/git.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gbp/git.py b/gbp/git.py
index 48e9366..d4192f0 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -33,7 +33,9 @@ class GitRepositoryError(Exception):
class GitModifier(object):
"""Stores authorship/comitter information"""
def __init__(self, name=None, email=None, date=None):
- self.__dict__.update(locals())
+ self.name = name
+ self.email = email
+ self.date = date
def _get_env(self, who):
"""Get author or comitter information as env var dictionary"""