app/soc/logic/site/id_user.py
changeset 305 972d28056d9d
parent 301 5d6d106afb23
child 309 7190b224c701
--- a/app/soc/logic/site/id_user.py	Sun Oct 12 15:05:50 2008 +0000
+++ b/app/soc/logic/site/id_user.py	Sun Oct 12 15:52:19 2008 +0000
@@ -81,12 +81,11 @@
     # User is definitely *not* a Developer
     return False
 
-  if (not id or id == current_id) and users.is_current_user_admin():
+  if ((not id) or (id == current_id)) and users.is_current_user_admin():
     # no id supplied, or current logged-in user, and that user is in the
     # Administration->Developers list in the App Engine console
     return True
 
-  # If no id is specified, default to logged in user
   if not id:
     id = current_id