changeset 44:158b469a10e9

whitespace
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 28 Dec 2013 14:26:29 -0800
parents 0aa08d20fc7d
children 54a53bbe5be9
files bitsyauth/__init__.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyauth/__init__.py
+++ b/bitsyauth/__init__.py
@@ -28,17 +28,19 @@ def random_word():
                         if i.isalpha() and i > min_length ]
         globals()['dictionary'] = _dictionary
     return random.Random().choice(dictionary)
 
 class BitsyAuthInnerWare(object):
     """inner auth;  does login checking"""
 
     def __init__(self, app, passwords, newuser=None, site=None, realm=None):
-        """a simple reimplementation of auth
+        """
+        a simple auth implementation: inner middleware
+
         * app: the WSGI app to be wrapped
         * passwords: callable that return a dictionary of {'user': 'password'}
         * newuser: callable to make a new user, taking name + pw
         * site: name of the site
         * realm: realm for HTTP digest authentication
         """
 
         self.app = app