projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f1b1c6
)
Use email.utils instead of email.Utils
author
Guido Günther
<agx@sigxcpu.org>
Thu, 19 Feb 2015 22:26:42 +0000
(23:26 +0100)
committer
Guido Günther
<agx@sigxcpu.org>
Fri, 20 Feb 2015 11:58:54 +0000
(12:58 +0100)
works with python 2 and 3
gbp/deb/changelog.py
patch
|
blob
|
history
diff --git
a/gbp/deb/changelog.py
b/gbp/deb/changelog.py
index 725e8bae320500bd4b87b8de9aaeeda351fb34b4..a483b3392d8de24a5dcc73254ed7de3613f047f6 100644
(file)
--- a/
gbp/deb/changelog.py
+++ b/
gbp/deb/changelog.py
@@
-175,14
+175,14
@@
class ChangeLog(object):
"""
The author of the last modification
"""
- return email.
U
tils.parseaddr(self._cp['Maintainer'])[0]
+ return email.
u
tils.parseaddr(self._cp['Maintainer'])[0]
@property
def email(self):
"""
The author's email
"""
- return email.
U
tils.parseaddr(self._cp['Maintainer'])[1]
+ return email.
u
tils.parseaddr(self._cp['Maintainer'])[1]
@property
def date(self):