--- a/cwconfig.py Wed Feb 17 11:25:46 2010 +0100
+++ b/cwconfig.py Wed Feb 17 11:26:09 2010 +0100
@@ -347,7 +347,7 @@
path.append(directory)
except KeyError:
pass
- if not cls.CUBES_DIR in path:
+ if not cls.CUBES_DIR in path and exists(cls.CUBES_DIR):
path.append(cls.CUBES_DIR)
return path
@@ -474,7 +474,7 @@
from logilab.common.modutils import load_module_from_file
cls.cls_adjust_sys_path()
for ctlfile in ('web/webctl.py', 'etwist/twctl.py',
- 'server/serverctl.py',
+ 'server/serverctl.py',
'devtools/devctl.py', 'goa/goactl.py'):
if exists(join(CW_SOFTWARE_ROOT, ctlfile)):
try: