Remove or otherwise disable some debug statements.
authorAnt Zucaro <azucaro@gmail.com>
Wed, 18 Jun 2014 01:33:38 +0000 (21:33 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 18 Jun 2014 01:33:38 +0000 (21:33 -0400)
xonstat/security.py
xonstat/views/admin.py

index a92804c7fb594aa142fd8de8b92d49d4c10af50e..c19909a8a8c94e0fd72a56d2356edc457774d521 100644 (file)
@@ -35,6 +35,4 @@ def groupfinder(userid, request):
     except:
         pass
 
-    log.debug("Found the following groups for %s: %s" % (userid, groups))
-
     return groups
index 8d5c20c885cf66a08c922a1406f279ffc5f732fc..84ecb4d46f8771eac5fc63d42175a36dcefd0e9e 100644 (file)
@@ -19,8 +19,8 @@ def login(request):
     player_email = DBSession.query(Player).\
             filter(Player.email_addr == persona_email).one()
 
-    log.debug("Verified email address: %s" % persona_email)
-    log.debug("Corresponding player is %s" % player_email)
+    #log.debug("Verified email address: %s" % persona_email)
+    #log.debug("Corresponding player is %s" % player_email)
 
     if player_email is not None:
         # Add the headers required to remember the user to the response