diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/remote/thriftbackend/Handler.py | 2 |
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"] |