# HG changeset patch # User Pawel Solyga # Date 1233494727 0 # Node ID da2487767ef4fc129862cec2f024ae96d166c2e5 # Parent 4a37239d834f16e5770031bf0a3ed2e171f7fff3 Fix missing dot and wrong import sorting in soc.views.helper.access module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed diff -r 4a37239d834f -r da2487767ef4 app/soc/views/helper/access.py --- a/app/soc/views/helper/access.py Sun Feb 01 13:24:43 2009 +0000 +++ b/app/soc/views/helper/access.py Sun Feb 01 13:25:27 2009 +0000 @@ -49,8 +49,8 @@ from soc.logic.models.role import logic as role_logic from soc.logic.models.site import logic as site_logic from soc.logic.models.program import logic as program_logic +from soc.logic.models.timeline import logic as timeline_logic from soc.logic.models.user import logic as user_logic -from soc.logic.models.timeline import logic as timeline_logic from soc.views import helper from soc.views import out_of_band from soc.views.helper import redirects @@ -411,7 +411,7 @@ @allowDeveloper def checkIsUserSelf(self, django_args): - """Checks whether the specified user is the logged in user + """Checks whether the specified user is the logged in user. Args: django_args: the keyword args from django, only scope_path is used @@ -984,7 +984,7 @@ fields = {'link_id': self.user.link_id, 'scope_path': django_args['scope_path'], - 'status' : 'active' + 'status': 'active' } manage_entity = manage_role_logic.logic.getForFields(fields, unique=True)