Fixed module conversion imports.
authorLennard de Rijk <ljvderijk@gmail.com>
Sun, 18 Oct 2009 16:27:22 +0200
changeset 3019 f106f825c4c9
parent 3018 0653f924ee7e
child 3020 b2c97cbba7df
Fixed module conversion imports.
app/soc/tasks/updates/module_conversion.py
--- a/app/soc/tasks/updates/module_conversion.py	Wed Oct 14 09:47:02 2009 +0200
+++ b/app/soc/tasks/updates/module_conversion.py	Sun Oct 18 16:27:22 2009 +0200
@@ -29,6 +29,7 @@
 
 from soc.logic.models import survey as survey_logic
 from soc.logic.models import survey_record as survey_record_logic
+from soc.logic.models.document import logic as document_logic
 from soc.logic.models.mentor import logic as mentor_logic
 from soc.logic.models.org_admin import logic as org_admin_logic
 from soc.logic.models.organization import logic as org_logic
@@ -430,7 +431,7 @@
   return
 
 
-@decorators.iterative_task(survey_record.project_logic)
+@decorators.iterative_task(survey_record_logic.project_logic)
 def runProjectSurveyRecordUpdate(request, entities, context, *args, **kwargs):
   """AppEngine Task that updates ProjectSurveyRecord entities.
 
@@ -443,7 +444,7 @@
   return _runSurveyRecordUpdate(entities)
 
 
-@decorators.iterative_task(survey_record.grading_logic)
+@decorators.iterative_task(survey_record_logic.grading_logic)
 def runGradingProjectSurveyRecordsUpdate(request, entities, context, *args, **kwargs):
   """AppEngine Task that updates GradingProjectSurveyRecord entities.