From dc31c3768337e2aa14c1c5eb7c2cccdbd96a10b9 Mon Sep 17 00:00:00 2001 From: Augusto Herrmann Date: Tue, 21 Aug 2018 09:26:13 -0300 Subject: [PATCH] remove instantiation of deprecated class that wasn't used anyway --- ckanext/googleanalytics/dbutil.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ckanext/googleanalytics/dbutil.py b/ckanext/googleanalytics/dbutil.py index f78219f..1aba9b6 100644 --- a/ckanext/googleanalytics/dbutil.py +++ b/ckanext/googleanalytics/dbutil.py @@ -79,7 +79,6 @@ def get_resource_visits_for_url(url): def get_top_packages(limit=20): items = [] - authorizer = Authorizer() # caveat emptor: the query below will not filter out private # or deleted datasets (TODO) q = model.Session.query(model.Package)