Add missing docstrings to main.py and settings.py.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Fri, 03 Apr 2009 17:09:34 +0000
changeset 2066 1855c783934f
parent 2065 edac5ddc8ef0
child 2067 9b58b42c6b53
Add missing docstrings to main.py and settings.py. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
app/main.py
app/settings.py
--- a/app/main.py	Fri Apr 03 17:06:27 2009 +0000
+++ b/app/main.py	Fri Apr 03 17:09:34 2009 +0000
@@ -14,6 +14,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+"""Main Melange module with profiling support.
+"""
+
 __authors__ = [
   # alphabetical order by last name, please
   '"Augie Fackler" <durin42@gmail.com>',
@@ -52,6 +55,8 @@
 
 # Log errors.
 def log_exception(*args, **kwds):
+  """Function used for logging exceptions.
+  """
   logging.exception('Exception in request:')
 
 # Log all exceptions detected by Django.
--- a/app/settings.py	Fri Apr 03 17:06:27 2009 +0000
+++ b/app/settings.py	Fri Apr 03 17:09:34 2009 +0000
@@ -12,6 +12,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+"""Module containing Melange Django settings.
+"""
+
 __authors__ = [
   '"Augie Fackler" <durin42@gmail.com>',
   '"Pawel Solyga" <pawel.solyga@gmail.com>',