Permalink
Browse files

Walk around the exception 'Empty module name' raise by web.py doesn't…

… compatible with GAE.
  • Loading branch information...
1 parent d33e025 commit 764bed78ca86b90de3b7db9016502b8b10ce60e1 @shuge shuge committed Mar 11, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 web/template.py
View
@@ -1049,11 +1049,11 @@ def _load_template(self, name):
render = Render
# setup render for Google App Engine.
-try:
- from google import appengine
- render = Render = GAE_Render
-except ImportError:
- pass
+# try:
+# from google import appengine
+# render = Render = GAE_Render
+#except ImportError:
+# pass
def frender(path, **keywords):
"""Creates a template from the given file path.

0 comments on commit 764bed7

Please sign in to comment.