# HG changeset patch # User Pawel Solyga # Date 1232467975 0 # Node ID bc1c951bf3a031e596aa206477b60191a69f969b # Parent 1abdbedf42083964e45c36a94709f1aaffbac5fa Add missing blank line in soc.views.helper.params module. Fix docstring typo in soc.views.models.role module. Add missing dots at the end of sentences in soc.logic.cleaning and soc.view.models.user_self modules. Patch by: Pawel Solyga Review by: to-be-reviewed diff -r 1abdbedf4208 -r bc1c951bf3a0 app/soc/logic/cleaning.py --- a/app/soc/logic/cleaning.py Tue Jan 20 16:10:04 2009 +0000 +++ b/app/soc/logic/cleaning.py Tue Jan 20 16:12:55 2009 +0000 @@ -71,7 +71,7 @@ if not user_entity: # user does not exist - raise forms.ValidationError("This user does not exist") + raise forms.ValidationError("This user does not exist.") return user_entity return wrapped diff -r 1abdbedf4208 -r bc1c951bf3a0 app/soc/views/helper/params.py --- a/app/soc/views/helper/params.py Tue Jan 20 16:10:04 2009 +0000 +++ b/app/soc/views/helper/params.py Tue Jan 20 16:12:55 2009 +0000 @@ -273,6 +273,7 @@ result = '/'.join(patterns) return result + def getScopePattern(params): """Returns the Scope pattern for this entity. """ diff -r 1abdbedf4208 -r bc1c951bf3a0 app/soc/views/models/role.py --- a/app/soc/views/models/role.py Tue Jan 20 16:10:04 2009 +0000 +++ b/app/soc/views/models/role.py Tue Jan 20 16:12:55 2009 +0000 @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Views for Sponsor profiles. +"""Views for Role profiles. """ __authors__ = [ diff -r 1abdbedf4208 -r bc1c951bf3a0 app/soc/views/models/user_self.py --- a/app/soc/views/models/user_self.py Tue Jan 20 16:10:04 2009 +0000 +++ b/app/soc/views/models/user_self.py Tue Jan 20 16:12:55 2009 +0000 @@ -247,7 +247,7 @@ super(View, self)._editPost(request, entity, fields) def getSidebarMenus(self, request, params=None): - """See base.View.getSidebarMenus() + """See base.View.getSidebarMenus(). """ link_title = ugettext_lazy('Notifications')