Fixed module conversion imports.
--- 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.