# HG changeset patch # User egazoni # Date 1273238709 -7200 # Node ID 55a40cc0ab9a71dfad57671c2fd8c40a947d83a1 # Parent 2a5cc708c2a09df8db1a4b45d9a24408b0e9ea8c replaced hardcoded 'web/view' by os.path.join('web', 'view') so views path is also valid under windows diff -r 2a5cc708c2a0 -r 55a40cc0ab9a dbapi.py --- 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) diff -r 2a5cc708c2a0 -r 55a40cc0ab9a web/webconfig.py --- 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 + (