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]
/
models
/
nodes.py
diff --git
a/models/nodes.py
b/models/nodes.py
index
a89d653
..
8d33d43
100644
(file)
--- a/
models/nodes.py
+++ b/
models/nodes.py
@@
-73,7
+73,7
@@
class Node(TreeEntity):
else:
domain = ""
else:
domain = ""
- if not path:
+ if not path
or subpath == "/"
:
subpath = subpath[1:]
return '%s%s%s%s' % (domain, root_url, path, subpath)
subpath = subpath[1:]
return '%s%s%s%s' % (domain, root_url, path, subpath)