summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/MultiHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-28 04:58:47 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-28 04:58:47 +0100
commit302616d94f76ab8794b58d3d54b780cc58e86b06 (patch)
treeadce8aa07473d668d86f09018bd52027e6df1907 /module/plugins/internal/MultiHoster.py
parent[HookManager] Remove __threaded__ checks (diff)
downloadpyload-302616d94f76ab8794b58d3d54b780cc58e86b06.tar.xz
Code cosmetics: items() -> iteritems()
Diffstat (limited to 'module/plugins/internal/MultiHoster.py')
-rw-r--r--module/plugins/internal/MultiHoster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/MultiHoster.py b/module/plugins/internal/MultiHoster.py
index 5c787e2d6..3596641b0 100644
--- a/module/plugins/internal/MultiHoster.py
+++ b/module/plugins/internal/MultiHoster.py
@@ -126,7 +126,7 @@ class MultiHoster(Hook):
for name in self.core.pluginManager.hosterPlugins.keys():
pluginMap[name.lower()] = name
- accountList = [name.lower() for name, data in self.core.accountManager.accounts.items() if data]
+ accountList = [name.lower() for name, data in self.core.accountManager.accounts.iteritems() if data]
excludedList = []
for hoster in self.getHosterCached():