From 853d29a0f12cdcb6c406b829a57439c7ea9b570d Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 14 Jul 2011 20:59:01 +0200 Subject: has_key refractored, package name generator by Geek --- module/plugins/hooks/Ev0InFetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hooks/Ev0InFetcher.py') diff --git a/module/plugins/hooks/Ev0InFetcher.py b/module/plugins/hooks/Ev0InFetcher.py index 5eb4e09c1..c7191cd4e 100644 --- a/module/plugins/hooks/Ev0InFetcher.py +++ b/module/plugins/hooks/Ev0InFetcher.py @@ -42,7 +42,7 @@ class Ev0InFetcher(Hook, PluginStorage): sortedLinks = {} for url, hoster in results: - if not sortedLinks.has_key(hoster): + if hoster not in sortedLinks: sortedLinks[hoster] = [] sortedLinks[hoster].append(url) -- cgit v1.2.3