Work in progress. This is currently broken!

This commit is contained in:
Joseph Schorr 2014-09-16 00:18:57 -04:00
parent 820d5c0476
commit e3c52fa0eb
8 changed files with 344 additions and 0 deletions

View file

@ -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__)