Work in progress. This is currently broken!
This commit is contained in:
parent
820d5c0476
commit
e3c52fa0eb
8 changed files with 344 additions and 0 deletions
|
@ -18,6 +18,7 @@ def _location_aware(unbound_func):
|
|||
storage = self._storages[preferred]
|
||||
|
||||
if not storage:
|
||||
print locations
|
||||
storage = self._storages[random.sample(locations, 1)[0]]
|
||||
|
||||
storage_func = getattr(storage, unbound_func.__name__)
|
||||
|
|
Reference in a new issue