diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-05-16 19:51:26 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-05-16 19:51:56 +0200 |
commit | b0390d15c9d77303a607e4b760771c71f6b7d971 (patch) | |
tree | 801cce82004fdf11934484ccd2a62c6fcd8006c4 /gbp/git | |
parent | 817976e1117228641e93b76e4aee350f51316caf (diff) |
Fix comitter vs committer typos
Thanks: Sandro Tosi
Closes: #748339
Diffstat (limited to 'gbp/git')
-rw-r--r-- | gbp/git/modifier.py | 8 | ||||
-rw-r--r-- | gbp/git/repository.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gbp/git/modifier.py b/gbp/git/modifier.py index bc98649..2452e0b 100644 --- a/gbp/git/modifier.py +++ b/gbp/git/modifier.py @@ -41,7 +41,7 @@ class GitTz(datetime.tzinfo): return datetime.timedelta(0) class GitModifier(object): - """Stores authorship/comitter information""" + """Stores authorship/committer information""" def __init__(self, name=None, email=None, date=None): """ @param name: the modifier's name @@ -77,10 +77,10 @@ class GitModifier(object): "datetime object or git raw date" % date) def _get_env(self, who): - """Get author or comitter information as env var dictionary""" + """Get author or committer information as env var dictionary""" who = who.upper() if who not in ['AUTHOR', 'COMMITTER']: - raise GitModifierError("Neither comitter nor author") + raise GitModifierError("Neither committer nor author") extra_env = {} if self.name: @@ -130,7 +130,7 @@ class GitModifier(object): def get_committer_env(self): """ - Get env vars for comitter information + Get env vars for committer information >>> g = GitModifier("foo", "bar") >>> g.get_committer_env() diff --git a/gbp/git/repository.py b/gbp/git/repository.py index 10b9030..23f9482 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -1408,7 +1408,7 @@ class GitRepository(object): @param parents: parents of this commit @param author: authorship information @type author: C{dict} with keys 'name' and 'email' or L{GitModifier} - @param committer: comitter information + @param committer: committer information @type committer: C{dict} with keys 'name' and 'email' """ extra_env = {} |