# HG changeset patch # User Pawel Solyga # Date 1233569254 0 # Node ID 26998a171c49a2a7b35f324c319b1750be57d1ca # Parent 514eedb1f5304ed5f78313cad02e03cac5429e67 Style fixes in soc.logic.models modules. Patch by: Pawel Solyga Reviewed by: to-be-reviewed diff -r 514eedb1f530 -r 26998a171c49 app/soc/logic/models/org_app.py --- a/app/soc/logic/models/org_app.py Mon Feb 02 10:06:36 2009 +0000 +++ b/app/soc/logic/models/org_app.py Mon Feb 02 10:07:34 2009 +0000 @@ -28,6 +28,7 @@ import soc.models.group_app import soc.models.org_app + class Logic(group_app.Logic): """Logic methods for the Organization Application model. """ diff -r 514eedb1f530 -r 26998a171c49 app/soc/logic/models/organization.py --- a/app/soc/logic/models/organization.py Mon Feb 02 10:06:36 2009 +0000 +++ b/app/soc/logic/models/organization.py Mon Feb 02 10:07:34 2009 +0000 @@ -69,7 +69,7 @@ 'scope': entity, 'scope_path': entity.key().name(), 'role': 'org_admin', - 'role_verbose' : 'Organization Admin', + 'role_verbose': 'Organization Admin', 'status': 'group_accepted', } @@ -79,7 +79,7 @@ request_logic.logic.updateOrCreateFromFields(properties, key_fields) # set the application to completed - fields = {'status' : 'completed'} + fields = {'status': 'completed'} org_app_logic.logic.updateEntityProperties(application, fields) super(Logic, self)._onCreate(entity)