From 9851294b04ddb5071e9e366bc6b71b3e1d4a98e8 Mon Sep 17 00:00:00 2001 From: Marcus Weiner Date: Thu, 7 Dec 2017 17:29:15 +0100 Subject: [PATCH] Fix Python 3 incompatibility (#188) --- mrq/basetasks/cleaning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrq/basetasks/cleaning.py b/mrq/basetasks/cleaning.py index 0567bdcf..31f9eb35 100644 --- a/mrq/basetasks/cleaning.py +++ b/mrq/basetasks/cleaning.py @@ -241,7 +241,7 @@ def run(self, params): # Only clean queues older than N days time_threshold = time.time() - max_age - for queue, time_last_used in known_queues.iteritems(): + for queue, time_last_used in known_queues.items(): if queue in queues_from_config: continue if time_last_used < time_threshold: