Commits

Thomas Waldmann committed 8f5b56b Draft

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

Comments (0)

Files changed (4)

     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)
 import logging.handlers  # needed for handlers defined there being configurable in logging.conf file
 
 configured = False
-
 fallback_config = False
 
 import warnings

MoinMoin/storage/stores/gae.py

-# Copyright: 2011 MoinMoin:GuidoVanRossum
+# Copyright: 2012 MoinMoin:GuidoVanRossum
 # License: GNU GPL v2 (or any later version), see LICENSE.txt for details.
 
 """
 
 # 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.
+# setup.py). Thus, we do not use the jinja2 GAE could provide.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.