Fix missing dot and wrong import sorting in soc.views.helper.access module.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Sun, 01 Feb 2009 13:25:27 +0000
changeset 1142 da2487767ef4
parent 1141 4a37239d834f
child 1143 b07b7d5b3e27
Fix missing dot and wrong import sorting in soc.views.helper.access module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
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)