diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 02:33:32 +0200 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 02:33:32 +0200 |
| commit | 3026086c19b45382d5ceca778a5458233b485ce9 (patch) | |
| tree | a58fb49cd65f9b7ff24029aeb4dfaccd657128dd /paste/auth/basic.py | |
| parent | 3e25cb1adbf0dce96f49a270d07028550b15e33c (diff) | |
| parent | b9ceb0a57e2c48f95e94693da5f3f4b86fbc3bff (diff) | |
| download | paste-3026086c19b45382d5ceca778a5458233b485ce9.tar.gz | |
Merged in mfrobben/paste (pull request #21)
Fix bad reference to iterator variable
Diffstat (limited to 'paste/auth/basic.py')
| -rw-r--r-- | paste/auth/basic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/auth/basic.py b/paste/auth/basic.py index 69db128..24d1731 100644 --- a/paste/auth/basic.py +++ b/paste/auth/basic.py @@ -108,14 +108,14 @@ def make_basic(app, global_conf, realm, authfunc, **kw): use = egg:Paste#auth_basic realm=myrealm authfunc=somepackage.somemodule:somefunction - + """ from paste.util.import_string import eval_import import types authfunc = eval_import(authfunc) assert isinstance(authfunc, types.FunctionType), "authfunc must resolve to a function" return AuthBasicHandler(app, realm, authfunc) - + if "__main__" == __name__: import doctest |
