Add missing docstrings to main.py and settings.py.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- 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>',