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.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Tue, 20 Jan 2009 16:12:55 +0000
changeset 837 bc1c951bf3a0
parent 836 1abdbedf4208
child 838 58da949dd64c
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
app/soc/logic/cleaning.py
app/soc/views/helper/params.py
app/soc/views/models/role.py
app/soc/views/models/user_self.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
--- 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.
   """
--- 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__ = [
--- 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')