app/soc/logic/cleaning.py
changeset 1143 b07b7d5b3e27
parent 1088 7ad48d59da3d
child 1205 2e88261aba72
--- a/app/soc/logic/cleaning.py	Sun Feb 01 13:25:27 2009 +0000
+++ b/app/soc/logic/cleaning.py	Sun Feb 01 13:26:25 2009 +0000
@@ -80,6 +80,7 @@
 
   return wrapper
 
+
 def clean_existing_user(field_name):
   """Check if the field_name field is a valid user.
   """
@@ -211,7 +212,7 @@
 
       # check if there is already an application with the given link_id
       fields = {'link_id': club_link_id,
-                'status': ['accepted','ignored','needs review','completed']}
+                'status': ['accepted', 'ignored', 'needs review', 'completed']}
       club_app_entity = club_app_logic.logic.getForFields(fields, unique=True)
 
       if club_app_entity: