Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/olpc/datastore/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/olpc/datastore/model.py')
-rw-r--r--src/olpc/datastore/model.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/olpc/datastore/model.py b/src/olpc/datastore/model.py
index f17e842..dfbe0df 100644
--- a/src/olpc/datastore/model.py
+++ b/src/olpc/datastore/model.py
@@ -188,7 +188,7 @@ class Content(object):
self._file = None
self._model = model
self._file = None
-
+
def __repr__(self):
return "<%s %s>" %(self.__class__.__name__,
self.properties)
@@ -206,6 +206,7 @@ class Content(object):
@property
def properties(self):
+
d = {}
for k, v in self.data.iteritems():
if k in EXCLUDED_PROPERTIES: continue