--- a/dbapi.py Thu May 06 14:29:07 2010 +0200
+++ b/dbapi.py Mon May 10 16:59:32 2010 +0200
@@ -28,6 +28,7 @@
from time import time, clock
from itertools import count
from warnings import warn
+from os.path import join
from logilab.common.logging_ext import set_log_methods
from logilab.common.decorators import monkeypatch
@@ -550,7 +551,7 @@
if 'views' in subpath:
esubpath = list(subpath)
esubpath.remove('views')
- esubpath.append('web/views')
+ esubpath.append(join('web', 'views'))
cubes = reversed([config.cube_dir(p) for p in cubes])
vpath = config.build_vregistry_path(cubes, evobjpath=esubpath,
tvobjpath=subpath)