projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b43d44a
)
Fix shared listings.
author
Antony Chazapis
<chazapis@gmail.com>
Wed, 31 Aug 2011 14:34:36 +0000
(17:34 +0300)
committer
Antony Chazapis
<chazapis@gmail.com>
Wed, 31 Aug 2011 14:34:36 +0000
(17:34 +0300)
pithos/backends/modular.py
patch
|
blob
|
history
diff --git
a/pithos/backends/modular.py
b/pithos/backends/modular.py
index
32f1e93
..
0ffcb70
100644
(file)
--- a/
pithos/backends/modular.py
+++ b/
pithos/backends/modular.py
@@
-363,6
+363,8
@@
class ModularBackend(BaseBackend):
else:
if shared:
allowed = self.permissions.access_list_shared('/'.join((account, container)))
+ if not allowed:
+ return []
path, node = self._lookup_container(account, container)
return self._list_objects(node, path, prefix, delimiter, marker, limit, virtual, keys, until, allowed)