sobjects/__init__.py
changeset 8696 0bb18407c053
parent 8188 1867e252e487
child 10614 57dfde80df11
--- a/sobjects/__init__.py	Thu Feb 14 15:38:25 2013 +0100
+++ b/sobjects/__init__.py	Thu Feb 14 16:01:24 2013 +0100
@@ -20,7 +20,7 @@
 import os.path as osp
 
 def registration_callback(vreg):
-    vreg.register_all(globals().values(), __name__)
+    vreg.register_all(globals().itervalues(), __name__)
     global URL_MAPPING
     URL_MAPPING = {}
     if vreg.config.apphome: