summaryrefslogtreecommitdiff
path: root/gbp/deb/changelog.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/deb/changelog.py')
-rw-r--r--gbp/deb/changelog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/deb/changelog.py b/gbp/deb/changelog.py
index 631b5a6..725e8ba 100644
--- a/gbp/deb/changelog.py
+++ b/gbp/deb/changelog.py
@@ -168,7 +168,7 @@ class ChangeLog(object):
@return: C{True} if the version has an epoch, C{False} otherwise
@rtype: C{bool}
"""
- return self._cp.has_key('Epoch')
+ return 'Epoch' in self._cp
@property
def author(self):