author | Sandrine Ribeau <sandrine.ribeau@logilab.fr> |
Tue, 08 Dec 2009 14:46:17 +0100 | |
changeset 4037 | 42f3a80738d7 |
parent 4036 | 137be4878127 |
child 4038 | 273f9e4e6d19 |
--- 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: