1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

Moar prints.

This commit is contained in:
Andrew Jackson 2019-02-14 15:12:27 +00:00 committed by John Berlin
parent b8124e3931
commit 60ad1739b7
No known key found for this signature in database
GPG Key ID: 6EF5E4B442011B02

View File

@ -76,12 +76,14 @@ class AccessChecker(object):
def find_access_rule(self, url, ts=None, urlkey=None):
params = {'url': url, 'urlkey': urlkey}
print("Getting acl_iter...')
acl_iter, errs = self.aggregator(params)
if errs:
print(errs)
key = params['key'].decode('utf-8')
print("Iterating acl_iter...')
for acl in acl_iter:
if 'urlkey' not in acl:
continue