From 538a06e986a4ebebf5f670dd3d5af9ddb9501649 Mon Sep 17 00:00:00 2001 From: Elrond Date: Sat, 21 May 2011 17:02:49 +0200 Subject: [PATCH] Fix doc string of get_page_url() --- mediagoblin/util.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mediagoblin/util.py b/mediagoblin/util.py index a1af7bd0..f56bea43 100644 --- a/mediagoblin/util.py +++ b/mediagoblin/util.py @@ -353,8 +353,7 @@ class Pagination(object): def get_page_url(self, request, page_no): """ - Get a new page based of the request, the new page number, - and existing get parameters. + Get a new page url based of the request, and the new page number. """ path_info = request.path_info get_params = request.GET @@ -362,4 +361,3 @@ class Pagination(object): new_get_params['page'] = page_no return "%s?%s" % ( path_info, urllib.urlencode(new_get_params)) -