diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-05-21 17:02:49 +0200 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-05-21 17:02:49 +0200 |
commit | 538a06e986a4ebebf5f670dd3d5af9ddb9501649 (patch) | |
tree | 8e36cb2c1e2e0b765d338769a3b467f2722e327c /mediagoblin/util.py | |
parent | 0e84c707cb57b864fff4bdd438644c4313677893 (diff) | |
download | mediagoblin-538a06e986a4ebebf5f670dd3d5af9ddb9501649.tar.lz mediagoblin-538a06e986a4ebebf5f670dd3d5af9ddb9501649.tar.xz mediagoblin-538a06e986a4ebebf5f670dd3d5af9ddb9501649.zip |
Fix doc string of get_page_url()
Diffstat (limited to 'mediagoblin/util.py')
-rw-r--r-- | mediagoblin/util.py | 4 |
1 files changed, 1 insertions, 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)) - |