From e2890c729fe9be1aa8ec58639b0954f523e321bd Mon Sep 17 00:00:00 2001 From: Joar Wandborg Date: Tue, 2 Oct 2012 22:29:22 +0200 Subject: [PATCH] Fixed pylint issues, removed unused import --- mediagoblin/tests/test_http_callback.py | 2 +- mediagoblin/tools/pagination.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mediagoblin/tests/test_http_callback.py b/mediagoblin/tests/test_http_callback.py index 9e48d056..d769af1e 100644 --- a/mediagoblin/tests/test_http_callback.py +++ b/mediagoblin/tests/test_http_callback.py @@ -19,7 +19,7 @@ import json from urlparse import urlparse, parse_qs from mediagoblin import mg_globals -from mediagoblin.tools import template, processing +from mediagoblin.tools import processing from mediagoblin.tests.tools import get_test_app, fixture_add_user from mediagoblin.tests.test_submission import GOOD_PNG from mediagoblin.tests import test_oauth as oauth diff --git a/mediagoblin/tools/pagination.py b/mediagoblin/tools/pagination.py index a008e3f4..50e59070 100644 --- a/mediagoblin/tools/pagination.py +++ b/mediagoblin/tools/pagination.py @@ -59,7 +59,6 @@ class Pagination(object): self.active_id = jump_to_id break - def __call__(self): """ Returns slice of objects for the requested page -- 2.25.1