replaced hardcoded 'web/view' by os.path.join('web', 'view') so views path is also valid under windows
--- a/dbapi.py Fri May 07 15:03:03 2010 +0200
+++ b/dbapi.py Fri May 07 15:25:09 2010 +0200
@@ -553,7 +553,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)
--- a/web/webconfig.py Fri May 07 15:03:03 2010 +0200
+++ b/web/webconfig.py Fri May 07 15:25:09 2010 +0200
@@ -75,7 +75,7 @@
"""the WebConfiguration is a singleton object handling instance's
configuration and preferences
"""
- cubicweb_appobject_path = CubicWebConfiguration.cubicweb_appobject_path | set(['web/views'])
+ cubicweb_appobject_path = CubicWebConfiguration.cubicweb_appobject_path | set([join('web', 'views')])
cube_appobject_path = CubicWebConfiguration.cube_appobject_path | set(['views'])
options = merge_options(CubicWebConfiguration.options + (