dbapi.py
changeset 5508 6718ba5db0eb
parent 5473 ee87c5352e63
parent 5507 3604c1c78295
child 5713 605f571198eb
--- 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)