Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/creactistore/_templates/lib/olpcfr/tools/_obj.py
diff options
context:
space:
mode:
Diffstat (limited to 'creactistore/_templates/lib/olpcfr/tools/_obj.py')
-rw-r--r--creactistore/_templates/lib/olpcfr/tools/_obj.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/creactistore/_templates/lib/olpcfr/tools/_obj.py b/creactistore/_templates/lib/olpcfr/tools/_obj.py
deleted file mode 100644
index 85c461a..0000000
--- a/creactistore/_templates/lib/olpcfr/tools/_obj.py
+++ /dev/null
@@ -1,9 +0,0 @@
-
-class obj(object):
-
- def __init__(self, d):
- for a, b in d.items():
- if isinstance(b, (list, tuple)):
- setattr(self, a, [obj(x) if isinstance(x, dict) else x for x in b])
- else:
- setattr(self, a, obj(b) if isinstance(b, dict) else b)