* viewcvs/lib/viewcvs.py
(common_template_data): Show a non-empty root listing when there is a non-empty list of roots, regardless of the size of that list. git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1107 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/tags/1.0.0-rc1
parent
701452a3fb
commit
4a24ab0c36
|
@ -927,7 +927,7 @@ def common_template_data(request):
|
|||
# add in the roots for the selection
|
||||
roots = []
|
||||
allroots = list_roots(cfg)
|
||||
if len(allroots) >= 2:
|
||||
if len(allroots):
|
||||
rootnames = allroots.keys()
|
||||
rootnames.sort(icmp)
|
||||
for rootname in rootnames:
|
||||
|
|
Loading…
Reference in New Issue