Modified:
/project/app/main.py
/project/app/set_sys_path.py
=======================================
--- /project/app/main.py Sat Apr 23 15:36:10 2011
+++ /project/app/main.py Sun Apr 24 05:22:59 2011
@@ -30,8 +30,8 @@
enable_jinja2_debugging()
def main():
+ set_sys_path.set_path()
app.run()
if __name__ == '__main__':
- set_sys_path.set_path()
main()
=======================================
--- /project/app/set_sys_path.py Sat Apr 23 15:49:54 2011
+++ /project/app/set_sys_path.py Sun Apr 24 05:22:59 2011
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
"""Sets sys.path for the library directories.
-The purpose of this file is to define extra paths in a single place. This
is
-convenient in case many entry points are used instead of a single main.py.
+The purpose of this file is to have a single place to define extra paths.
+This is convenient in case many entry points are used instead of a single
+main.py.
"""
import os
import sys