# HG changeset patch # User Pawel Solyga # Date 1233494785 0 # Node ID b07b7d5b3e27ca992cfe521143d48b984d11e8f6 # Parent da2487767ef4fc129862cec2f024ae96d166c2e5 Fix missing dots and blank lines to soc.logic modules. Patch by: Pawel Solyga Reviewed by: to-be-reviewed diff -r da2487767ef4 -r b07b7d5b3e27 app/soc/logic/cleaning.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: diff -r da2487767ef4 -r b07b7d5b3e27 app/soc/logic/rights.py --- 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