Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sugar_network/db/routes.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sugar_network/db/routes.py b/sugar_network/db/routes.py
index 9f59d68..77e2c4b 100644
--- a/sugar_network/db/routes.py
+++ b/sugar_network/db/routes.py
@@ -100,8 +100,7 @@ class Routes(object):
if not reply:
reply = []
for prop in self.volume[request.resource].metadata.values():
- if isinstance(prop, StoredProperty) and \
- prop.acl & ACL.READ and not (prop.acl & ACL.LOCAL):
+ if prop.acl & ACL.READ and not (prop.acl & ACL.LOCAL):
reply.append(prop.name)
self._preget(request)
doc = self.volume[request.resource].get(request.guid)