Fixed a bug in role.py that made it call the wrong superclass.
authorLennard de Rijk <ljvderijk@gmail.com>
Sat, 31 Jan 2009 16:04:22 +0000
changeset 1117 5785d9af5c5d
parent 1116 5a9d4c2d6748
child 1118 d2a2268b3227
Fixed a bug in role.py that made it call the wrong superclass. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/logic/models/role.py
--- a/app/soc/logic/models/role.py	Sat Jan 31 16:03:14 2009 +0000
+++ b/app/soc/logic/models/role.py	Sat Jan 31 16:04:22 2009 +0000
@@ -81,7 +81,7 @@
     if entity.status == 'active':
       sidebar.flush(entity.user.account)
 
-    super(View, self)._onCreate(entity)
+    super(Logic, self)._onCreate(entity)
 
 
 logic = Logic()