Add missing dots in soc.views.helper.redirects module function docstrings.
Patch by: Pawel Solyga
Review by: to-be-reviewed
--- a/app/soc/views/helper/redirects.py Sat Jan 24 10:56:18 2009 +0000
+++ b/app/soc/views/helper/redirects.py Sat Jan 24 10:57:53 2009 +0000
@@ -70,14 +70,14 @@
def getHomeRedirect(entity, params):
- """Returns the home redirect for the specified entity
+ """Returns the home redirect for the specified entity.
"""
return '/%s/home/%s' % (
params['url_name'], entity.key().name())
def getReviewRedirect(entity, params):
- """Returns the redirect to review the specified entity
+ """Returns the redirect to review the specified entity.
"""
return '/%s/review/%s' % (
@@ -95,7 +95,7 @@
def getSelectRedirect(entity, params):
- """Returns the pick redirect for the specified entity
+ """Returns the pick redirect for the specified entity.
"""
if entity:
@@ -110,11 +110,11 @@
def getReturnRedirect(return_url, field):
- """Returns a function that has return_url and field embedded
+ """Returns a function that has return_url and field embedded.
"""
def wrapped(entity, params):
- """Returns the return redirect for the specified entity
+ """Returns the return redirect for the specified entity.
"""
result = '%s?field=%s&value=%s' % (