# HG changeset patch # User Pawel Solyga # Date 1231446441 0 # Node ID 23eaf3aa19b145d95e35c818faa289dc63fc2ebb # Parent bac448165a96b54f60c4f4336b36adb682da5fcd Fix missing dots at the end of sentences in docstring and fix wrong import sorting in soc.logic.helper.notifications module. Patch by: Pawel Solyga Review by: to-be-reviewed diff -r bac448165a96 -r 23eaf3aa19b1 app/gsoc/logic/models/timeline.py --- a/app/gsoc/logic/models/timeline.py Thu Jan 08 20:09:24 2009 +0000 +++ b/app/gsoc/logic/models/timeline.py Thu Jan 08 20:27:21 2009 +0000 @@ -29,7 +29,7 @@ class Logic(timeline_logic.Logic): - """Logic methods for the Timeline model + """Logic methods for the Timeline model. """ def __init__(self, model=gsoc.models.timeline.Timeline, diff -r bac448165a96 -r 23eaf3aa19b1 app/soc/logic/helper/notifications.py --- a/app/soc/logic/helper/notifications.py Thu Jan 08 20:09:24 2009 +0000 +++ b/app/soc/logic/helper/notifications.py Thu Jan 08 20:27:21 2009 +0000 @@ -22,8 +22,8 @@ ] +import os import time -import os from google.appengine.api import users @@ -39,12 +39,12 @@ DEF_NEW_NOTIFICATION_MSG = ugettext_lazy( - "You have received a new Notification") + "You have received a new Notification.") DEF_INVITATION_MSG_FMT = ugettext_lazy( - "Invitation to become a %(role)s for %(group)s") + "Invitation to become a %(role)s for %(group)s.") -DEF_WELCOME_MSG_FMT = ugettext_lazy("Welcome to Melange %(name)s") +DEF_WELCOME_MSG_FMT = ugettext_lazy("Welcome to Melange %(name)s,") def sendInviteNotification(entity): """Sends out an invite notification to the user the request is for. diff -r bac448165a96 -r 23eaf3aa19b1 app/soc/logic/models/program.py --- a/app/soc/logic/models/program.py Thu Jan 08 20:09:24 2009 +0000 +++ b/app/soc/logic/models/program.py Thu Jan 08 20:27:21 2009 +0000 @@ -32,7 +32,7 @@ class Logic(base.Logic): - """Logic methods for the Program model + """Logic methods for the Program model. """ TIMELINE_LOGIC = {'gsoc' : gsoc.logic.models.timeline.logic, diff -r bac448165a96 -r 23eaf3aa19b1 app/soc/logic/models/timeline.py --- a/app/soc/logic/models/timeline.py Thu Jan 08 20:09:24 2009 +0000 +++ b/app/soc/logic/models/timeline.py Thu Jan 08 20:27:21 2009 +0000 @@ -40,7 +40,7 @@ scope_logic=scope_logic) def getScopeDepth(self): - """See base.Logic.getScopeDepth + """See base.Logic.getScopeDepth. """ return 3 diff -r bac448165a96 -r 23eaf3aa19b1 app/soc/views/models/timeline.py --- a/app/soc/views/models/timeline.py Thu Jan 08 20:09:24 2009 +0000 +++ b/app/soc/views/models/timeline.py Thu Jan 08 20:27:21 2009 +0000 @@ -71,7 +71,7 @@ def edit(self, request, access_type, page_name=None, params=None, seed=None, **kwargs): - """See base.View.edit + """See base.View.edit. """ params = dicts.merge(params, self._params)