git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor changes to penfield to return feed urls only when feeds are actually enabled...
[philo.git]
/
models
/
base.py
diff --git
a/models/base.py
b/models/base.py
index
202c2f3
..
34e90dc
100644
(file)
--- a/
models/base.py
+++ b/
models/base.py
@@
-358,6
+358,8
@@
class TreeManager(models.Manager):
if deepest_level == depth:
# This should happen if nothing is found with any part of the given path.
+ if root is not None:
+ return root, build_path(segments)
raise
return find_obj(segments, depth, deepest_found)