Calling the correct super in Project and Grading Survey Logic.
--- a/app/soc/logic/models/survey.py Tue Jun 30 03:03:46 2009 -0700
+++ b/app/soc/logic/models/survey.py Tue Jun 30 08:49:34 2009 +0200
@@ -414,8 +414,8 @@
"""Defines the name, key_name and model for this entity.
"""
- super(Logic, self).__init__(model=model, base_model=base_model,
- scope_logic=scope_logic)
+ super(ProjectLogic, self).__init__(model=model, base_model=base_model,
+ scope_logic=scope_logic)
class GradingProjectLogic(ProjectLogic):
@@ -427,8 +427,9 @@
"""Defines the name, key_name and model for this entity.
"""
- super(Logic, self).__init__(model=model, base_model=base_model,
- scope_logic=scope_logic)
+ super(GradingProjectLogic, self).__init__(model=model,
+ base_model=base_model,
+ scope_logic=scope_logic)
class ResultsLogic(work.Logic):
"""Logic methods for the Survey model