--- a/cwctl.py Tue Apr 14 14:50:28 2009 +0200
+++ b/cwctl.py Tue Apr 14 14:50:42 2009 +0200
@@ -4,7 +4,7 @@
%s"""
import sys
-from os import remove, listdir, system, kill, getpgid
+from os import remove, listdir, system, kill, getpgid, pathsep
from os.path import exists, join, isfile, isdir
from logilab.common.clcommands import register_commands, pop_arg
@@ -176,7 +176,7 @@
print ' ', line
print
try:
- cubesdir = cwcfg.cubes_dir()
+ cubesdir = pathsep.join(cwcfg.cubes_search_path())
namesize = max(len(x) for x in cwcfg.available_cubes())
except ConfigurationError, ex:
print 'No cubes available:', ex