diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-25 09:42:49 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-25 09:42:49 +0200 |
commit | 952001324e1faf584b1adcb01c4a0406a3722932 (patch) | |
tree | ed87ade69e207e677d1144147b381bcd508ab25d /module/plugins/hooks/ExtractArchive.py | |
parent | Account rewritten (2) (diff) | |
download | pyload-952001324e1faf584b1adcb01c4a0406a3722932.tar.xz |
Don't user dictionary’s iterator methods
Diffstat (limited to 'module/plugins/hooks/ExtractArchive.py')
-rw-r--r-- | module/plugins/hooks/ExtractArchive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py index 5a51319ad..2e45f4a38 100644 --- a/module/plugins/hooks/ExtractArchive.py +++ b/module/plugins/hooks/ExtractArchive.py @@ -299,7 +299,7 @@ class ExtractArchive(Addon): matched = False success = True files_ids = dict((pylink['name'], ((fs_join(download_folder, pypack.folder, pylink['name'])), pylink['id'], out)) for pylink \ - in sorted(pypack.getChildren().itervalues(), key=lambda k: k['name'])).values() #: Remove duplicates + in sorted(pypack.getChildren().values(), key=lambda k: k['name'])).values() #: Remove duplicates #: Check as long there are unseen files while files_ids: |