git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed trailing_pathsep support from TreeManager.get_with_path. Set nodes to have...
[philo.git]
/
middleware.py
diff --git
a/middleware.py
b/middleware.py
index
ad660ec
..
fa30ef6
100644
(file)
--- a/
middleware.py
+++ b/
middleware.py
@@
-21,6
+21,9
@@
class LazyNode(object):
node = None
if node:
+ if subpath is None:
+ subpath = ""
+ subpath = "/" + subpath
node.subpath = subpath
request._found_node = node