summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-16 17:06:24 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-16 17:06:24 +0100
commit4aeb2cda55b88463f6b5092410e76ada55185af5 (patch)
tree08927e7f0d0f91397cf99d146e01ecb1ad296716 /module
parentwindows connect fix (diff)
downloadpyload-4aeb2cda55b88463f6b5092410e76ada55185af5.tar.xz
fileorder fix?
Diffstat (limited to 'module')
-rw-r--r--module/remote/thriftbackend/Handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/remote/thriftbackend/Handler.py b/module/remote/thriftbackend/Handler.py
index 1a9625394..bde93b240 100644
--- a/module/remote/thriftbackend/Handler.py
+++ b/module/remote/thriftbackend/Handler.py
@@ -424,7 +424,7 @@ class Handler(Iface):
"""
rawData = self.serverMethods.get_package_data(pid)
order = {}
- for pyfile in rawData["links"]:
+ for id, pyfile in rawData["links"].iteritems():
while pyfile["order"] in order.keys(): #just in case
pyfile["order"] += 1
order[pyfile["order"]] = pyfile["id"]