Cosmetic changes: removed an unused import, stripped some trailing whitespace.
This commit is contained in:
parent
724933b154
commit
439e37f732
@ -60,7 +60,7 @@ def uses_pagination(controller):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
return exc.HTTPNotFound()
|
return exc.HTTPNotFound()
|
||||||
|
|
||||||
return controller(request, page=page, *args, **kwargs)
|
return controller(request, page=page, *args, **kwargs)
|
||||||
|
|
||||||
return _make_safe(wrapper, controller)
|
return _make_safe(wrapper, controller)
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from webob import Response, exc
|
from webob import Response, exc
|
||||||
from mediagoblin.db.util import ObjectId, DESCENDING
|
from mediagoblin.db.util import DESCENDING
|
||||||
from mediagoblin.util import Pagination
|
from mediagoblin.util import Pagination
|
||||||
|
|
||||||
from mediagoblin.decorators import uses_pagination, get_media_entry
|
from mediagoblin.decorators import uses_pagination, get_media_entry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user