Fix missing dots in doc strings and some other doc string corrections.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Mon, 17 Nov 2008 10:36:35 +0000
changeset 499 d22e4fe8e64b
parent 498 1cd81063a4c6
child 500 44ea4620c5c0
Fix missing dots in doc strings and some other doc string corrections. Patch by: Pawel Solyga
app/soc/logic/accounts.py
app/soc/logic/dicts.py
app/soc/logic/key_name.py
app/soc/logic/models/base.py
app/soc/logic/models/document.py
app/soc/logic/models/home_settings.py
app/soc/logic/models/host.py
app/soc/logic/models/request.py
app/soc/logic/models/site_settings.py
app/soc/logic/models/sponsor.py
app/soc/logic/models/user.py
app/soc/logic/models/work.py
app/soc/views/document/edit.py
app/soc/views/helper/decorators.py
app/soc/views/helper/lists.py
app/soc/views/helper/responses.py
app/soc/views/helper/widgets.py
app/soc/views/home.py
app/soc/views/models/base.py
app/soc/views/models/document.py
app/soc/views/models/home_settings.py
app/soc/views/models/host.py
app/soc/views/models/request.py
app/soc/views/models/role.py
app/soc/views/models/site_settings.py
app/soc/views/models/sponsor.py
app/soc/views/models/user.py
app/soc/views/settings.py
app/soc/views/site/settings.py
app/soc/views/sitemap/build.py
app/soc/views/sponsor/profile.py
app/soc/views/user/roles.py
--- a/app/soc/logic/accounts.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/accounts.py	Mon Nov 17 10:36:35 2008 +0000
@@ -114,7 +114,7 @@
 
 # TODO(tlarsen): make this generic for any Linkable and move elsewhere
 def getUserFromLinkNameOr404(link_name):
-  """Like getUserFromLinkName but expects to find a user
+  """Like getUserFromLinkName but expects to find a user.
 
   Raises:
     out_of_band.ErrorResponse if no User entity is found
--- a/app/soc/logic/dicts.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/dicts.py	Mon Nov 17 10:36:35 2008 +0000
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-"""Logic related to handling dictionaries
+"""Logic related to handling dictionaries.
 """
 
 __authors__ = [
@@ -31,7 +31,8 @@
     keys: The list with keys to filter the dictionary on
   
   Returns:
-    A dictionary that only contains the (key,value) from target that have their key in keys
+    A dictionary that only contains the (key,value) from target that 
+    have their key in keys.
   """
   result = {}
   
@@ -50,7 +51,7 @@
     updates: A dictionary containing new values for the original dict
 
   Returns:
-    the target dict, with any missing values from updates merged in, in-place 
+    the target dict, with any missing values from updates merged in, in-place.
   """
 
   if not target:
@@ -89,7 +90,7 @@
   return result
 
 def rename(target, keys):
-  """Returns a dict containing only the key/value pairs from keys
+  """Returns a dict containing only the key/value pairs from keys.
 
   The keys from target will be looked up in keys, and the corresponding
   value from keys will be used instead. If a key is not found, it is skipped.
--- a/app/soc/logic/key_name.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/key_name.py	Mon Nov 17 10:36:35 2008 +0000
@@ -167,7 +167,8 @@
 
 
 def nameWork(link_name):
-  """Placeholder for work namer"""
+  """Placeholder for work namer.
+  """
 
   if not link_name:
     raise Error('"link_name" must be non-False: "%s"' % link_name)
@@ -176,7 +177,8 @@
 
 
 def nameHost(sponsor_ln, user_ln):
-  """Placeholder for host namer"""
+  """Placeholder for host namer.
+  """
 
   if not sponsor_ln:
     raise Error('"sponsor_ln" must be non-False: "%s"' % sponsor_ln)
--- a/app/soc/logic/models/base.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/models/base.py	Mon Nov 17 10:36:35 2008 +0000
@@ -34,7 +34,8 @@
 
 
 class Error(Exception):
-  """Base class for all exceptions raised by this module."""
+  """Base class for all exceptions raised by this module.
+  """
   pass
 
 
@@ -73,7 +74,7 @@
     return True
 
   def _keyName(self, **kwargs):
-    """Returns the KeyName constructed from kwargs for this type of entity
+    """Returns the KeyName constructed from kwargs for this type of entity.
 
     The KeyName is in the following format:
     entity.name:<key_value1>:<key_value2>:...:<key_valueN>
@@ -114,7 +115,7 @@
                       self.getModelClassName()) 
 
   def getKeyValues(self, entity):
-    """Exctracts the key values from entity and returns them
+    """Exctracts the key values from entity and returns them.
 
     Args:
       entity: the entity from which to extract the key values
@@ -123,7 +124,7 @@
     raise NotImplementedError
 
   def getSuffixValues(self, entity):
-    """Returns an array with the public values of the Key Fields
+    """Returns an array with the public values of the Key Fields.
 
     Defaults to getKeyValues
     If any of the Key Fields should not be made public, this method
@@ -136,7 +137,7 @@
     return self.getKeyValues(entity)
 
   def getKeyValuesFromFields(self, fields):
-    """Exctracts the key values from a dict and returns them
+    """Exctracts the key values from a dict and returns them.
 
     Args:
       fields: the dict from which to extract the key values
@@ -145,13 +146,13 @@
     raise NotImplementedError
 
   def getKeyFieldNames(self):
-    """Returns an array with the names of the Key Fields 
+    """Returns an array with the names of the Key Fields.
     """
 
     raise NotImplementedError
 
   def getKeySuffix(self, entity):
-    """Returns a suffix for the specified entity or None if no entity specified
+    """Returns a suffix for the specified entity or None if no entity specified.
 
     Args:
       entity: the entity for which to get the suffix
@@ -166,7 +167,7 @@
     return suffix
 
   def getKeyFieldsFromDict(self, dictionary):
-    """Does any required massaging and filtering of dictionary
+    """Does any required massaging and filtering of dictionary.
 
     The resulting dictionary contains just the key names, and has any
     required translations/modifications performed.
@@ -218,7 +219,7 @@
 
     Raises:
       out_of_band.ErrorResponse if link name is not false, but no entity
-      with the supplied link name exists in the Datastore
+      with the supplied link name exists in the Datastore.
     """
 
     if not all(fields.values()):
@@ -270,7 +271,7 @@
     return query.fetch(limit, offset)
 
   def getForFields(self, properties, unique=False, limit=1000, offset=0):
-    """Returns all entities that have the specified properties
+    """Returns all entities that have the specified properties.
 
     Args:
       properties: the properties that the entity should have
@@ -432,7 +433,7 @@
         properties and their values
 
     Returns:
-      the original model entity with any supplied properties changed
+      The original model entity with any supplied properties changed.
     """
 
     def update():
@@ -441,7 +442,7 @@
     return db.run_in_transaction(update)
 
   def _unsafeUpdateModelProperties(self, model, model_properties):
-    """(see updateModelProperties)
+    """See updateModelProperties.
 
     Like updateModelProperties(), but not run within a transaction.
     """
--- a/app/soc/logic/models/document.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/models/document.py	Mon Nov 17 10:36:35 2008 +0000
@@ -52,7 +52,7 @@
     return [fields['partial_path'], fields['link_name']]
 
   def getKeyFieldNames(self):
-    """See base.Logic.getKeyFieldNames
+    """See base.Logic.getKeyFieldNames.
     """
 
     return ['partial_path', 'link_name']
--- a/app/soc/logic/models/home_settings.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/models/home_settings.py	Mon Nov 17 10:36:35 2008 +0000
@@ -30,7 +30,7 @@
 
 
 class Logic(base.Logic):
-  """Logic methods for the HomeSettings model
+  """Logic methods for the HomeSettings model.
   """
 
   def __init__(self):
@@ -51,7 +51,7 @@
     return [fields['partial_path'], fields['link_name']]
 
   def getKeyFieldNames(self):
-    """See base.Logic.getKeyFieldNames
+    """See base.Logic.getKeyFieldNames.
     """
 
     return ['partial_path', 'link_name']
--- a/app/soc/logic/models/host.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/models/host.py	Mon Nov 17 10:36:35 2008 +0000
@@ -30,7 +30,7 @@
 
 
 class Logic(base.Logic):
-  """Logic methods for the Host model
+  """Logic methods for the Host model.
   """
 
   def __init__(self):
@@ -52,7 +52,7 @@
     return [fields['sponsor_ln'], fields['user_ln']]
 
   def getKeyFieldNames(self):
-    """See base.Logic.getKeyFieldNames
+    """See base.Logic.getKeyFieldNames.
     """
 
     return ['sponsor_ln', 'user_ln']
--- a/app/soc/logic/models/request.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/models/request.py	Mon Nov 17 10:36:35 2008 +0000
@@ -29,7 +29,7 @@
 
 
 class Logic(base.Logic):
-  """Logic methods for the Request model
+  """Logic methods for the Request model.
   """
 
   def __init__(self):
@@ -51,7 +51,7 @@
     return [fields['role'], fields['group_ln'], fields['user_ln']]
 
   def getKeyFieldNames(self):
-    """See base.Logic.getKeyFieldNames
+    """See base.Logic.getKeyFieldNames.
     """
 
     return ['role', 'group_ln', 'user_ln']
--- a/app/soc/logic/models/site_settings.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/models/site_settings.py	Mon Nov 17 10:36:35 2008 +0000
@@ -31,7 +31,7 @@
 
 
 class Logic(home_settings.Logic):
-  """Logic methods for the SiteSettings model
+  """Logic methods for the SiteSettings model.
   """
 
   DEF_SITE_SETTINGS_PARTIAL_PATH = 'site'
@@ -45,7 +45,8 @@
                         base_model=soc.models.home_settings.HomeSettings)
 
   def getMainKeyValues(self):
-    """Returns the default key values for the site settings"""
+    """Returns the default key values for the site settings.
+    """
 
     return [self.DEF_SITE_SETTINGS_PARTIAL_PATH, 
             self.DEF_SITE_SETTINGS_LINK_NAME]
--- a/app/soc/logic/models/sponsor.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/models/sponsor.py	Mon Nov 17 10:36:35 2008 +0000
@@ -30,7 +30,7 @@
 
 
 class Logic(base.Logic):
-  """Logic methods for the Sponsor model
+  """Logic methods for the Sponsor model.
   """
 
   def __init__(self):
@@ -52,7 +52,7 @@
     return [fields['link_name']] 
 
   def getKeyFieldNames(self):
-    """See base.Logic.getKeyFieldNames
+    """See base.Logic.getKeyFieldNames.
     """
 
     return ['link_name']
--- a/app/soc/logic/models/user.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/models/user.py	Mon Nov 17 10:36:35 2008 +0000
@@ -28,7 +28,7 @@
 
 
 class Logic(base.Logic):
-  """Logic methods for the User model
+  """Logic methods for the User model.
   """
 
   def __init__(self):
@@ -57,7 +57,7 @@
     return [entity.account.email()]
 
   def getSuffixValues(self, entity):
-    """See base.Logic.getSuffixValues
+    """See base.Logic.getSuffixValues.
     """
 
     return [entity.link_name]
@@ -77,7 +77,7 @@
     return [entity.link_name]
 
   def getKeyFieldNames(self):
-    """See base.Logic.getKeyFieldNames
+    """See base.Logic.getKeyFieldNames.
     """
 
     return ['link_name']
--- a/app/soc/logic/models/work.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/logic/models/work.py	Mon Nov 17 10:36:35 2008 +0000
@@ -30,7 +30,7 @@
 
 
 class Logic(base.Logic):
-  """Logic methods for the Work model
+  """Logic methods for the Work model.
   """
 
   def __init__(self):
@@ -51,7 +51,7 @@
     return [fields['link_name']]
 
   def getKeyFieldNames(self):
-    """See base.Logic.getKeyFieldNames
+    """See base.Logic.getKeyFieldNames.
     """
 
     return ['link_name']
--- a/app/soc/views/document/edit.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/document/edit.py	Mon Nov 17 10:36:35 2008 +0000
@@ -57,7 +57,7 @@
 
 
 def getDocForForm(form):
-  """Extracts doc fields from a form and creates a new doc from it
+  """Extracts doc fields from a form and creates a new doc from it.
   """
 
   user = users.get_current_user()
--- a/app/soc/views/helper/decorators.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/helper/decorators.py	Mon Nov 17 10:36:35 2008 +0000
@@ -32,7 +32,8 @@
 
 
 def view(func):
-  """Decorator that insists that exceptions are handled by view."""
+  """Decorator that insists that exceptions are handled by view.
+  """
   @wraps(func)
   def view_wrapper(*args, **kwds):
     try:
--- a/app/soc/views/helper/lists.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/helper/lists.py	Mon Nov 17 10:36:35 2008 +0000
@@ -100,7 +100,7 @@
 
   Returns:
     updated template context dict supplied by the caller or a new context
-    dict if the caller supplied None
+    dict if the caller supplied None.
 
     {
       'list_data': list data to be displayed 
--- a/app/soc/views/helper/responses.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/helper/responses.py	Mon Nov 17 10:36:35 2008 +0000
@@ -127,7 +127,7 @@
     old_suffix, new_suffix, params:  see helper.requests.replaceSuffix()
       
   Returns:
-    a Django HTTP redirect response pointing to the altered path
+    a Django HTTP redirect response pointing to the altered path.
   """
   path = helper.requests.replaceSuffix(request.path, old_suffix, new_suffix,
                                        params=params)
--- a/app/soc/views/helper/widgets.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/helper/widgets.py	Mon Nov 17 10:36:35 2008 +0000
@@ -73,7 +73,7 @@
 </script>'''
 
   def __init__(self, mce_settings=None, *args, **kwargs):
-    """Initialize TinyMCE widget with default or customized settings
+    """Initialize TinyMCE widget with default or customized settings.
     
     Args:
       mce_settings: dict with TinyMCE widget settings
--- a/app/soc/views/home.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/home.py	Mon Nov 17 10:36:35 2008 +0000
@@ -50,7 +50,7 @@
       combines a Django view with sidebar menu info
     path: path (entire "scoped" portion combined with the link_name)
       used to retrieve the Group's "home" settings
-    template: the template path to use for rendering the template.
+    template: the template path to use for rendering the template
 
   Returns:
     A subclass of django.http.HttpResponse with generated template.
--- a/app/soc/views/models/base.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/models/base.py	Mon Nov 17 10:36:35 2008 +0000
@@ -121,7 +121,7 @@
     self._params = dicts.merge(params, new_params)
 
   def public(self, request, page_name=None, params=None, **kwargs):
-    """Displays the public page for the entity specified by **kwargs
+    """Displays the public page for the entity specified by **kwargs.
 
     Args:
       request: the standard Django HTTP request object
@@ -164,7 +164,7 @@
     return helper.responses.respond(request, template, context)
 
   def create(self, request, page_name=None, params=None, **kwargs):
-    """Displays the create page for this entity type
+    """Displays the create page for this entity type.
 
     Args:
       request: the standard Django HTTP request object
@@ -193,7 +193,7 @@
       return self.edit(request, page_name=page_name, params=params, seed=kwargs, **empty_kwargs)
 
   def edit(self, request, page_name=None, params=None, seed=None, **kwargs):
-    """Displays the edit page for the entity specified by **kwargs
+    """Displays the edit page for the entity specified by **kwargs.
 
     Args:
       request: the standard Django HTTP request object
@@ -234,7 +234,7 @@
       return self.editGet(request, entity, context, seed, params)
 
   def editPost(self, request, entity, context, params):
-    """Same as edit, but on POST
+    """Same as edit, but on POST.
     """
 
     params = dicts.merge(params, self._params)
@@ -273,7 +273,7 @@
         params=page_params)
 
   def editGet(self, request, entity, context, seed, params):
-    """Same as edit, but on GET
+    """Same as edit, but on GET.
     """
 
     params = dicts.merge(params, self._params)
@@ -307,7 +307,7 @@
     return self._constructResponse(request, entity, context, form, params)
 
   def list(self, request, page_name=None, params=None):
-    """Displays the list page for the entity type
+    """Displays the list page for the entity type.
     
     Args:
       request: the standard Django HTTP request object
@@ -348,7 +348,7 @@
     return helper.responses.respond(request, template, context)
 
   def delete(self, request, page_name=None, params=None, **kwargs):
-    """Shows the delete page for the entity specified by kwargs
+    """Shows the delete page for the entity specified by **kwargs.
 
     Args:
       request: the standard Django HTTP request object
@@ -397,7 +397,7 @@
     return http.HttpResponseRedirect(redirect)
 
   def _editPost(self, request, entity, fields):
-    """Performs any required processing on the entity to post its edit page
+    """Performs any required processing on the entity to post its edit page.
 
     Args:
       request: the django request object
@@ -408,7 +408,7 @@
     pass
 
   def _public(self, request, entity, context):
-    """Performs any required processing to get an entities public page
+    """Performs any required processing to get an entities public page.
 
     Args:
       request: the django request object
@@ -419,7 +419,7 @@
     pass
 
   def _editGet(self, request, entity, form):
-    """Performs any required processing on the form to get its edit page
+    """Performs any required processing on the form to get its edit page.
 
     Args:
       request: the django request object
@@ -430,7 +430,7 @@
     pass
 
   def _editSeed(self, request, seed):
-    """Performs any required processing on the form to get its edit page
+    """Performs any required processing on the form to get its edit page.
 
     Args:
       request: the django request object
@@ -440,7 +440,7 @@
     pass
 
   def checkUnspecified(self, access_type, request):
-    """Checks whether an unspecified access_type should be allowed
+    """Checks whether an unspecified access_type should be allowed.
 
     Args:
       access_type: the access type (such as 'list' or 'edit') that was
@@ -450,7 +450,7 @@
     pass
 
   def _constructResponse(self, request, entity, context, form, params):
-    """Updates the context and returns a response for the specified arguments
+    """Updates the context and returns a response for the specified arguments.
 
     Args:
       request: the django request object
@@ -499,7 +499,7 @@
       check(request)
 
   def collectCleanedFields(self, form):
-    """Collects all cleaned fields and returns them with the key_name
+    """Collects all cleaned fields and returns them with the key_name.
 
     Args:
       form: The form from which the cleaned fields should be collected
@@ -531,7 +531,7 @@
     return result
 
   def _getSidebarItems(self, params):
-    """Retrieves a list of sidebar entries for this view from self._params
+    """Retrieves a list of sidebar entries for this view from self._params.
 
     If params['sidebar'] is None default entries will be constructed 
     """
@@ -562,7 +562,7 @@
     return result
 
   def getSidebarLinks(self, params=None):
-    """Returns an dictionary with one sidebar entry
+    """Returns an dictionary with one sidebar entry.
 
     Args:
       params: see __init__
@@ -582,9 +582,9 @@
     return res
 
   def getDjangoURLPatterns(self, params=None):
-    """Retrieves a list of sidebar entries for this view from self._params
+    """Retrieves a list of sidebar entries for this view from self._params.
 
-    If self._params['django_patterns'] is None default entries will be constructed 
+    If self._params['django_patterns'] is None default entries will be constructed.
     """
 
     params = dicts.merge(params, self._params)
--- a/app/soc/views/models/document.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/models/document.py	Mon Nov 17 10:36:35 2008 +0000
@@ -79,7 +79,7 @@
 
 
 class View(base.View):
-  """View methods for the Document model
+  """View methods for the Document model.
   """
 
   def __init__(self, original_params=None, original_rights=None):
--- a/app/soc/views/models/home_settings.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/models/home_settings.py	Mon Nov 17 10:36:35 2008 +0000
@@ -96,7 +96,7 @@
 
 
 class View(base.View):
-  """View methods for the Document model
+  """View methods for the Document model.
   """
 
   def __init__(self, original_params=None, original_rights=None):
--- a/app/soc/views/models/host.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/models/host.py	Mon Nov 17 10:36:35 2008 +0000
@@ -73,7 +73,7 @@
   pass
 
 class View(role.RoleView):
-  """View methods for the Host model
+  """View methods for the Host model.
   """
 
   def __init__(self, original_params=None, original_rights=None):
--- a/app/soc/views/models/request.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/models/request.py	Mon Nov 17 10:36:35 2008 +0000
@@ -43,6 +43,7 @@
 import soc.views.helper
 import soc.views.helper.widgets
 
+
 class CreateForm(helper.forms.BaseForm):
   """Django form displayed when Developer creates a Request.
   """
@@ -75,6 +76,7 @@
         link_name=self.cleaned_data['group'])
     return self.cleaned_data['group']
 
+
 class EditForm(CreateForm):
   """Django form displayed when Developer edits a Request.
   """
@@ -83,7 +85,7 @@
 
 
 class View(base.View):
-  """View methods for the Docs model
+  """View methods for the Docs model.
   """
 
   def __init__(self, original_params=None, original_rights=None):
--- a/app/soc/views/models/role.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/models/role.py	Mon Nov 17 10:36:35 2008 +0000
@@ -41,7 +41,7 @@
 
 
 class RequestForm(helper.forms.BaseForm):
-  """Django form displayed when creating a new Invite
+  """Django form displayed when creating a new invititation/request.
   """
 
   class Meta:
@@ -62,7 +62,7 @@
 
 
 class RoleView(base.View):
-  """Views for all entities that inherit from Role
+  """Views for all entities that inherit from Role.
 
   All views that only Role entities have are defined in this subclass.
   """
@@ -186,7 +186,7 @@
         request, suffix, suffix)
 
   def getDjangoURLPatterns(self):
-    """see base.View.getDjangoURLPatterns()
+    """See base.View.getDjangoURLPatterns().
     """
 
     params = {}
--- a/app/soc/views/models/site_settings.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/models/site_settings.py	Mon Nov 17 10:36:35 2008 +0000
@@ -67,7 +67,7 @@
 
 
 class View(home_settings.View):
-  """View methods for the Document model
+  """View methods for the Document model.
   """
 
   def __init__(self, original_params=None, original_rights=None):
@@ -108,7 +108,7 @@
     self._logic = soc.logic.models.site_settings.logic
 
   def main_public(self, request, page_name=None, **kwargs):
-    """Displays the main site settings page
+    """Displays the main site settings page.
 
     Args:
       request: the standard Django HTTP request object
@@ -123,7 +123,7 @@
     return self.public(request, page_name, **key_values)
 
   def main_edit(self, request, page_name=None, **kwargs):
-    """Displays the edit page for the main site settings page
+    """Displays the edit page for the main site settings page.
 
     Args:
       request: the standard Django HTTP request object
@@ -138,7 +138,7 @@
     return self.edit(request, page_name, seed=key_values, **key_values)
 
   def getDjangoURLPatterns(self):
-    """see base.View.getDjangoURLPatterns()
+    """See base.View.getDjangoURLPatterns().
     """
 
     patterns = super(View, self).getDjangoURLPatterns()
--- a/app/soc/views/models/sponsor.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/models/sponsor.py	Mon Nov 17 10:36:35 2008 +0000
@@ -79,7 +79,7 @@
 
 
 class View(base.View):
-  """View methods for the Sponsor model
+  """View methods for the Sponsor model.
   """
 
   def __init__(self, original_params=None, original_rights=None):
--- a/app/soc/views/models/user.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/models/user.py	Mon Nov 17 10:36:35 2008 +0000
@@ -22,6 +22,7 @@
     '"Pawel Solyga" <pawel.solyga@gmail.com>',
   ]
 
+
 from google.appengine.api import users
 
 from django import forms
@@ -104,8 +105,9 @@
 
   key_name = forms.CharField(widget=forms.HiddenInput)
 
+
 class View(base.View):
-  """View methods for the User model
+  """View methods for the User model.
   """
 
   def __init__(self, original_params=None, original_rights=None):
@@ -192,7 +194,7 @@
     fields['account'] = users.User(fields['email'])
 
   def getUserSidebar(self):
-    """Returns an dictionary with the user sidebar entry
+    """Returns an dictionary with the user sidebar entry.
     """
 
     params = {}
@@ -204,7 +206,7 @@
     return self.getSidebarLinks(params)
 
   def getDjangoURLPatterns(self):
-    """see base.View.getDjangoURLPatterns()
+    """See base.View.getDjangoURLPatterns().
     """
 
     patterns = super(View, self).getDjangoURLPatterns()
--- a/app/soc/views/settings.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/settings.py	Mon Nov 17 10:36:35 2008 +0000
@@ -117,8 +117,8 @@
       combines a Django view with sidebar menu info
     path: path that is used to uniquely identify settings
     logic: settings logic object
-    settings_form_class:
-    template: the template path to use for rendering the template.
+    settings_form_class: 
+    template: the template path to use for rendering the template
 
   Returns:
     A subclass of django.http.HttpResponse with generated template.
--- a/app/soc/views/site/settings.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/site/settings.py	Mon Nov 17 10:36:35 2008 +0000
@@ -60,7 +60,7 @@
     path: path that is used to uniquely identify settings
     logic: settings logic object
     settings_form_class: class which should be used as Site Settings Form
-    template: the template path to use for rendering the template.
+    template: the template path to use for rendering the template
 
   Returns:
     A subclass of django.http.HttpResponse with generated template.
--- a/app/soc/views/sitemap/build.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/sitemap/build.py	Mon Nov 17 10:36:35 2008 +0000
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-"""Module that constructs the sitemap
+"""Module that constructs the sitemap.
 """
 
 __authors__ = [
--- a/app/soc/views/sponsor/profile.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/sponsor/profile.py	Mon Nov 17 10:36:35 2008 +0000
@@ -45,7 +45,7 @@
     page: a soc.logic.site.page.Page object which is abstraction that combines 
       a Django view with sidebar menu info
     link_name: the Sponsor's site-unique "link_name" extracted from the URL
-    template: the template path to use for rendering the template.
+    template: the template path to use for rendering the template
 
   Returns:
     A subclass of django.http.HttpResponse with generated template.
--- a/app/soc/views/user/roles.py	Mon Nov 17 10:34:21 2008 +0000
+++ b/app/soc/views/user/roles.py	Mon Nov 17 10:36:35 2008 +0000
@@ -36,11 +36,11 @@
   """A per-User dashboard of that User's Roles on the site.
 
   Args:
-    request: the standard django request object.
+    request: the standard django request object
     page: a soc.logic.site.page.Page object which is abstraction that combines 
       a Django view with sidebar menu info
     link_name: the User's site-unique "link_name" extracted from the URL
-    template: the template path to use for rendering the template.
+    template: the template path to use for rendering the template
 
   Returns:
     A subclass of django.http.HttpResponse with generated template.
@@ -66,11 +66,11 @@
   """A "general public" view of a User's Roles on the site.
 
   Args:
-    request: the standard django request object.
+    request: the standard django request object
     page: a soc.logic.site.page.Page object which is abstraction that combines 
       a Django view with sidebar menu info
     link_name: the User's site-unique "link_name" extracted from the URL
-    template: the template path to use for rendering the template.
+    template: the template path to use for rendering the template
 
   Returns:
     A subclass of django.http.HttpResponse with generated template.