changeset 1813:8f5b56b2ce2e gae

some minor / cosmetic changes add a comment to on_gae flag (for readers not knowing GAE) fix (c) year typo, code was done at EuroPython 2012 whitespace fixes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 30 Sep 2012 00:13:39 +0200
parents 43d726533fad
children 2e4d5b3b6f7d
files MoinMoin/app.py MoinMoin/log.py MoinMoin/storage/stores/gae.py app.yaml
diffstat 4 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/app.py	Sat Sep 29 23:54:22 2012 +0200
+++ b/MoinMoin/app.py	Sun Sep 30 00:13:39 2012 +0200
@@ -68,7 +68,7 @@
     clock = Clock()
     clock.start('create_app total')
     app = Flask('MoinMoin')
-    app.on_gae = False
+    app.on_gae = False  # are we running on Google App Engine?
     clock.start('create_app load config')
     if flask_config_file:
         app.config.from_pyfile(flask_config_file)
--- a/MoinMoin/log.py	Sat Sep 29 23:54:22 2012 +0200
+++ b/MoinMoin/log.py	Sun Sep 30 00:13:39 2012 +0200
@@ -96,7 +96,6 @@
 import logging.handlers  # needed for handlers defined there being configurable in logging.conf file
 
 configured = False
-
 fallback_config = False
 
 import warnings
--- a/MoinMoin/storage/stores/gae.py	Sat Sep 29 23:54:22 2012 +0200
+++ b/MoinMoin/storage/stores/gae.py	Sun Sep 30 00:13:39 2012 +0200
@@ -1,4 +1,4 @@
-# Copyright: 2011 MoinMoin:GuidoVanRossum
+# Copyright: 2012 MoinMoin:GuidoVanRossum
 # License: GNU GPL v2 (or any later version), see LICENSE.txt for details.
 
 """
--- a/app.yaml	Sat Sep 29 23:54:22 2012 +0200
+++ b/app.yaml	Sun Sep 30 00:13:39 2012 +0200
@@ -13,4 +13,4 @@
 
 # We must include jinja2 in the support directory, so we can use the same
 # support tgz for both GAE and standalone local installations (both do not use
-# setup.py). Thus, we do not use the jinja2 GAE could provide.
\ No newline at end of file
+# setup.py). Thus, we do not use the jinja2 GAE could provide.