--- a/app/soc/logic/models/survey_record.py Fri Jul 03 18:39:30 2009 +0200
+++ b/app/soc/logic/models/survey_record.py Fri Jul 03 19:15:09 2009 +0200
@@ -41,12 +41,12 @@
scope_logic=scope_logic, id_based=True)
def updateOrCreateFromFields(self, entity, properties, clear_dynamic=False):
- """ Create a new SurveyRecord, or update an existing one.
+ """Create a new SurveyRecord, or update an existing one.
params:
- entity = existing SurveyRecord, if one exists
- properties = the properties to be set
- clear_dynamic = iff True removes all dynamic properties before updating
+ entity: existing SurveyRecord, if one exists
+ properties: the properties to be set
+ clear_dynamic: iff True removes all dynamic properties before updating
"""
if entity: