Fix missing dots and blank lines to soc.logic modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- 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