summaryrefslogtreecommitdiff
path: root/gbp/deb/changelog.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-02-19 16:02:23 +0100
committerGuido Günther <agx@sigxcpu.org>2015-02-20 12:41:12 +0100
commit3ef32e2a51dd8bdcb904ccd8f33683149a55916a (patch)
tree97a5740902e7557c8f174e7a702d9ce3a54587b4 /gbp/deb/changelog.py
parent4766e1190a7ccb4c5a8f21ce3e8919637ff9c142 (diff)
Don't use dict.has_key()
Not existent in Python3
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):