changeset 18:814ed3208afa

whitespace
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 17 Nov 2011 11:04:36 -0800
parents d5f44b38826d
children aac4a4ea70a7
files bitsyauth/__init__.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyauth/__init__.py
+++ b/bitsyauth/__init__.py
@@ -329,22 +329,22 @@ class BitsyAuthInnerWare(object):
                 errors['Name'] = []
             errors['Name'].append('The name %s is already taken' % name)
 
         if not errors: # create a new user
             self.newuser(name,
                          self.hash(name, self.request.POST['Password']))
             self.request.environ['REMOTE_USER'] = name # login the new user
             self.request.environ['paste.auth_tkt.set_user'](name)
-        
+
         return errors
 
 class BitsyAuth(object):
     """outer middleware for auth;  does the cookie handling and wrapping"""
-    
+
     def __init__(self, app, global_conf, passwords, newuser, site='', secret='secret'):
         self.app = app
         self.path = '/logout'
         self.cookie = '__ac'
         auth = BitsyAuthInnerWare(app, passwords=passwords, newuser=newuser, site=site)
         self.hash = auth.hash
         # paste.auth.cookie
         #        self.cookie_handler = cookie.middleware(auth, cookie_name=self.cookie, timeout=90) # minutes