# HG changeset patch # User Pawel Solyga # Date 1228516024 0 # Node ID f96095df143373e2cb1b89d6e65b1272fb16a40f # Parent b9b0506efe8d82dcd4c7b2c28582b82f81293a27 Some more import sorting fixes and docstring typos in program modules and soc.views.helper.redirects module. Patch by: Pawel Solyga diff -r b9b0506efe8d -r f96095df1433 app/soc/logic/models/program.py --- a/app/soc/logic/models/program.py Fri Dec 05 22:25:57 2008 +0000 +++ b/app/soc/logic/models/program.py Fri Dec 05 22:27:04 2008 +0000 @@ -28,7 +28,7 @@ class Logic(base.Logic): - """Logic methods for the Document model + """Logic methods for the Program model """ def __init__(self, model=soc.models.program.Program, base_model=None): diff -r b9b0506efe8d -r f96095df1433 app/soc/models/program.py --- a/app/soc/models/program.py Fri Dec 05 22:25:57 2008 +0000 +++ b/app/soc/models/program.py Fri Dec 05 22:27:04 2008 +0000 @@ -29,7 +29,7 @@ class Program(soc.models.presence.Presence): - """The Program model, representing a Program ran by a Sponsor + """The Program model, representing a Program ran by a Sponsor. """ #: Required field storing name of the group. diff -r b9b0506efe8d -r f96095df1433 app/soc/views/helper/redirects.py --- a/app/soc/views/helper/redirects.py Fri Dec 05 22:25:57 2008 +0000 +++ b/app/soc/views/helper/redirects.py Fri Dec 05 22:27:04 2008 +0000 @@ -31,8 +31,9 @@ return result + def getInviteRedirect(entity, params): - """ + """Returns the invitation redirect for the specified entity. """ result ='/%s/invite/%s' % ( @@ -40,6 +41,7 @@ return result + def getCreateRedirect(entity, params): """Returns the create program redirect for the specified entity. """ @@ -49,6 +51,7 @@ return result + def getEditRedirect(entity, params): """Returns the edit redirect for the specified entity. """