mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
Moar prints.
This commit is contained in:
parent
b8124e3931
commit
60ad1739b7
@ -76,12 +76,14 @@ class AccessChecker(object):
|
|||||||
|
|
||||||
def find_access_rule(self, url, ts=None, urlkey=None):
|
def find_access_rule(self, url, ts=None, urlkey=None):
|
||||||
params = {'url': url, 'urlkey': urlkey}
|
params = {'url': url, 'urlkey': urlkey}
|
||||||
|
print("Getting acl_iter...')
|
||||||
acl_iter, errs = self.aggregator(params)
|
acl_iter, errs = self.aggregator(params)
|
||||||
if errs:
|
if errs:
|
||||||
print(errs)
|
print(errs)
|
||||||
|
|
||||||
key = params['key'].decode('utf-8')
|
key = params['key'].decode('utf-8')
|
||||||
|
|
||||||
|
print("Iterating acl_iter...')
|
||||||
for acl in acl_iter:
|
for acl in acl_iter:
|
||||||
if 'urlkey' not in acl:
|
if 'urlkey' not in acl:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user