[cpif] r36 - in trunk: . backend tests

svn at argo.es svn at argo.es
Thu May 10 20:36:45 CEST 2007


Author: jcea
Date: Thu May 10 20:36:43 2007
New Revision: 36

Log:
Reorganizacion

Added:
   trunk/backend/
   trunk/backend/database.py
      - copied unchanged from r35, /trunk/database.py
   trunk/backend/monitor.py
      - copied unchanged from r35, /trunk/monitor.py
   trunk/backend/storage.py
      - copied unchanged from r35, /trunk/storage.py
Removed:
   trunk/database.py
   trunk/monitor.py
   trunk/storage.py
Modified:
   trunk/demo_web.py
   trunk/tests/ejemplo1.py
   trunk/tests/ejemplo2.py

Modified: trunk/demo_web.py
==============================================================================
--- trunk/demo_web.py	(original)
+++ trunk/demo_web.py	Thu May 10 20:36:43 2007
@@ -197,6 +197,9 @@
 def main() :
   global monitor
 
+  import os.path,sys
+  sys.path.append("backend")
+
   import storage
   dummy,dummy,monitor=storage.storage_and_monitor("db")
 

Modified: trunk/tests/ejemplo1.py
==============================================================================
--- trunk/tests/ejemplo1.py	(original)
+++ trunk/tests/ejemplo1.py	Thu May 10 20:36:43 2007
@@ -16,6 +16,7 @@
 os.chdir(os.path.pardir)
 import sys
 sys.path.append(os.path.curdir)
+sys.path.append("backend")
 
 
 from durus.btree import BTree 

Modified: trunk/tests/ejemplo2.py
==============================================================================
--- trunk/tests/ejemplo2.py	(original)
+++ trunk/tests/ejemplo2.py	Thu May 10 20:36:43 2007
@@ -15,6 +15,8 @@
 os.chdir(os.path.pardir)
 import sys
 sys.path.append(os.path.curdir)
+sys.path.append("backend")
+
 
 
 import storage



More information about the cpif mailing list