schema.py
changeset 4037 42f3a80738d7
parent 4019 7f68077d2c3b
child 4045 f4a52abb6f4f
--- a/schema.py	Tue Dec 08 14:42:03 2009 +0100
+++ b/schema.py	Tue Dec 08 14:46:17 2009 +0100
@@ -431,7 +431,7 @@
         if 'toeid' in kwargs:
             objtype = session.describe(kwargs['toeid'])[0]
         else:
-            objtype = Nono
+            objtype = None
         if objtype and subjtype:
             return self.rdef(subjtype, objtype).has_perm(session, action, **kwargs)
         elif subjtype: