diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-02-19 16:02:23 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-02-20 12:41:12 +0100 |
commit | 3ef32e2a51dd8bdcb904ccd8f33683149a55916a (patch) | |
tree | 97a5740902e7557c8f174e7a702d9ce3a54587b4 /gbp/deb/changelog.py | |
parent | 4766e1190a7ccb4c5a8f21ce3e8919637ff9c142 (diff) |
Don't use dict.has_key()
Not existent in Python3
Diffstat (limited to 'gbp/deb/changelog.py')
-rw-r--r-- | gbp/deb/changelog.py | 2 |
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): |