summaryrefslogtreecommitdiff
path: root/macaroonbakery/authorizer.py
diff options
context:
space:
mode:
Diffstat (limited to 'macaroonbakery/authorizer.py')
-rw-r--r--macaroonbakery/authorizer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/macaroonbakery/authorizer.py b/macaroonbakery/authorizer.py
index b7128c0..ae84104 100644
--- a/macaroonbakery/authorizer.py
+++ b/macaroonbakery/authorizer.py
@@ -2,7 +2,7 @@
# Licensed under the LGPLv3, see LICENCE file for details.
import abc
-import macaroonbakery
+import macaroonbakery as bakery
# EVERYONE is recognized by ACLAuthorizer as the name of a
@@ -90,7 +90,7 @@ class ACLAuthorizer(Authorizer):
# Anyone is allowed to do nothing.
return [], []
allowed = [False] * len(ops)
- has_allow = isinstance(identity, macaroonbakery.ACLIdentity)
+ has_allow = isinstance(identity, bakery.ACLIdentity)
for i, op in enumerate(ops):
acl = self._get_acl(ctx, op)
if has_allow: