summaryrefslogtreecommitdiff
path: root/addons/web/http.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-10-25 17:47:45 +0200
committerXavier Morel <xmo@openerp.com>2012-10-25 17:47:45 +0200
commit99a2dd3938c7d7d4b7e9c724ec8acbb5eeedf35f (patch)
treeaca872a490542cb318626f806e8a3d3d2db0c1fd /addons/web/http.py
parent1cf9b2a60da502de27aa67e8318f41ad6692e5a9 (diff)
[ADD] first 90% of non-sucky testing API, last 90% left
also all existing tests shoud now be completely broken and need to be fixed bzr revid: xmo@openerp.com-20121025154745-rw2gktfd6tp68k2m
Diffstat (limited to 'addons/web/http.py')
-rw-r--r--addons/web/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/http.py b/addons/web/http.py
index 65630768737..b1d50597bf1 100644
--- a/addons/web/http.py
+++ b/addons/web/http.py
@@ -537,7 +537,7 @@ class Root(object):
:rtype: ``Controller | None``
"""
if l:
- ps = '/' + '/'.join(l)
+ ps = '/' + '/'.join(filter(None, l))
meth = 'index'
while ps:
c = controllers_path.get(ps)