diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-01-21 18:25:40 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-01-21 18:25:40 (GMT) |
commit | c8d833a4b02497223d9b35b89a501b74f7f480dd (patch) | |
tree | 19be4e802ecd13498b04e833f5b9da385a705f46 | |
parent | 81c8a4141045451392c2e4e0fd53682e960f53bd (diff) |
Polish design and get rid of "large" properties
-rw-r--r-- | restful_document/document.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/restful_document/document.py b/restful_document/document.py index d3cae55..288b6d8 100644 --- a/restful_document/document.py +++ b/restful_document/document.py @@ -67,7 +67,7 @@ class Document(ad.Document): if prop is None: reply = [] for name, prop in self.metadata.items(): - if prop.is_trait: + if not isinstance(prop, ad.BlobProperty): reply.append(name) return self.all_properties(reply) elif isinstance(self.metadata[prop], ad.BlobProperty): |