Skip to content
Snippets Groups Projects
Commit fa1757f2 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Fixed missing return leading to errors in listtransfers

parent d120e637
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,8 @@ class ServerQueue(dict):
def removeAnyType(self, transferIds):
'''drops transfers from the queues and return the dropped transfers. Handles transfers
without knowning their type. In other words, it's trying to drop STD, D2DSRC and D2DDST'''
self.remove(itertools.product(transferIds, [TransferType.STD, TransferType.D2DSRC, TransferType.D2DDST]))
return self.remove(itertools.product(transferIds,
[TransferType.STD, TransferType.D2DSRC, TransferType.D2DDST]))
def removeall(self, requser):
'''drops transfers from the queues return a dictionnary "transferId => fileId" listing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment