diff detectors/creator_resolution.py @ 5381:0942fe89e82e

Python 3 preparation: change "x.has_key(y)" to "y in x". (Also likewise "not in" where appropriate.) Tool-generated patch.
author Joseph Myers <jsm@polyomino.org.uk>
date Tue, 24 Jul 2018 22:08:17 +0000
parents 35ea9b1efc14
children
line wrap: on
line diff
--- a/detectors/creator_resolution.py	Tue Jul 24 21:43:32 2018 +0000
+++ b/detectors/creator_resolution.py	Tue Jul 24 22:08:17 2018 +0000
@@ -9,7 +9,7 @@
     "confirm-done" first though, but "classic" Roundup doesn't have that
     status)
     '''
-    if not newvalues.has_key('status'):
+    if 'status' not in newvalues:
         return
 
     # get the resolved state ID

Roundup Issue Tracker: http://roundup-tracker.org/