Skip to content

Commit

Permalink
Remove confusing alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Mar 23, 2011
1 parent 49e9a7e commit 7a7b896
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyramid_who/whov2.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from pyramid.interfaces import IAuthenticationPolicy from pyramid.interfaces import IAuthenticationPolicy
from pyramid.security import Authenticated from pyramid.security import Authenticated
from pyramid.security import Everyone from pyramid.security import Everyone
from repoze.who.config import make_api_factory_with_config as APIFactory from repoze.who.config import make_api_factory_with_config




def _null_callback(identity, request): def _null_callback(identity, request):
Expand All @@ -35,7 +35,8 @@ def __init__(self, config_file, identifier_id, callback=_null_callback):
config_file)))) config_file))))
conf_dir, _ = os.path.split(config_file) conf_dir, _ = os.path.split(config_file)
global_conf = {'here': conf_dir} global_conf = {'here': conf_dir}
self._api_factory = APIFactory(global_conf, config_file) self._api_factory = make_api_factory_with_config(global_conf,
config_file)
self._identifier_id = identifier_id self._identifier_id = identifier_id
self._callback = callback self._callback = callback


Expand Down

0 comments on commit 7a7b896

Please sign in to comment.