aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoar Wandborg <git@wandborg.com>2012-10-02 22:29:22 +0200
committerJoar Wandborg <git@wandborg.com>2012-10-02 22:29:22 +0200
commite2890c729fe9be1aa8ec58639b0954f523e321bd (patch)
tree43e0b286b2e2bc3d4a810ce0443f0b0240f6ff7f
parente4a1b6d22aea7c241118e778ac960d26e4b47572 (diff)
downloadmediagoblin-e2890c729fe9be1aa8ec58639b0954f523e321bd.tar.lz
mediagoblin-e2890c729fe9be1aa8ec58639b0954f523e321bd.tar.xz
mediagoblin-e2890c729fe9be1aa8ec58639b0954f523e321bd.zip
Fixed pylint issues, removed unused import
-rw-r--r--mediagoblin/tests/test_http_callback.py2
-rw-r--r--mediagoblin/tools/pagination.py1
2 files changed, 1 insertions, 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