[cpif] r38 - in trunk: . backend frontend-web tests

svn at argo.es svn at argo.es
Fri May 11 16:17:41 CEST 2007


Author: jcea
Date: Fri May 11 16:17:40 2007
New Revision: 38

Log:


Added:
   trunk/frontend-web/globales.py
      - copied unchanged from r37, /trunk/frontend-web/global.py
Removed:
   trunk/frontend-web/global.py
Modified:
   trunk/   (props changed)
   trunk/backend/   (props changed)
   trunk/frontend-web/init.py
   trunk/tests/ejemplo2.py

Modified: trunk/frontend-web/init.py
==============================================================================
--- trunk/frontend-web/init.py	(original)
+++ trunk/frontend-web/init.py	Fri May 11 16:17:40 2007
@@ -5,8 +5,10 @@
   from servidor_web import servidor_web
 
   import os.path,sys
-  sys.path.append("backend")
+  directorio_padre=os.path.split(os.getcwd())[0]  # Directorio padre
+  sys.path.append(os.path.join(directorio_padre,"backend"))
 
+  print sys.path
   import storage
   dummy,dummy,monitor=storage.storage_and_monitor("db")
 

Modified: trunk/tests/ejemplo2.py
==============================================================================
--- trunk/tests/ejemplo2.py	(original)
+++ trunk/tests/ejemplo2.py	Fri May 11 16:17:40 2007
@@ -18,7 +18,6 @@
 sys.path.append("backend")
 
 
-
 import storage
 dummy,dummy,monitor=storage.storage_and_monitor("db-test",storage=storage.storage_test)
 



More information about the cpif mailing list