[billreminder] Added __init__.py so that we can import modules



commit 37ae63735c58cdc590aff2b16d9ebbb90ea92dfa
Author: Og B. Maciel <ogmaciel gnome org>
Date:   Fri Jul 24 00:01:55 2009 -0400

    Added __init__.py so that we can import modules

 src/webreminder.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/webreminder.py b/src/webreminder.py
index 28d9e45..3cae16b 100644
--- a/src/webreminder.py
+++ b/src/webreminder.py
@@ -27,7 +27,7 @@ def main():
             os.mkdir(conf_dir)
             # Get the location of where the source code lives
             curDir = os.path.abspath(os.path.dirname(sys.argv[0]))
-            for f in ["manage.py", "settings.py", "urls.py"]:
+            for f in ["__init__.py", "manage.py", "settings.py", "urls.py"]:
                 src = os.path.join(os.path.realpath(curDir), f)
                 dest = os.path.join(conf_dir, f)
                 shutil.copyfile(src, dest)
@@ -40,7 +40,5 @@ def main():
     if not os.path.isdir(data_dir):
         os.mkdir(data_dir)
 
-    # Are all the django files in place?
-
 if __name__ == "__main__":
-    main()
\ No newline at end of file
+    main()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]