Fix missing dots and blank lines to soc.logic modules.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Sun, 01 Feb 2009 13:26:25 +0000
changeset 1143 b07b7d5b3e27
parent 1142 da2487767ef4
child 1144 f89bbc9b20a6
Fix missing dots and blank lines to soc.logic modules. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
app/soc/logic/cleaning.py
app/soc/logic/rights.py
--- 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:
--- a/app/soc/logic/rights.py	Sun Feb 01 13:25:27 2009 +0000
+++ b/app/soc/logic/rights.py	Sun Feb 01 13:26:25 2009 +0000
@@ -72,7 +72,7 @@
       }
 
   def __init__(self, prefix):
-    """Constructs a Checker for the specified prefix
+    """Constructs a Checker for the specified prefix.
     """
 
     self.prefix = prefix