From 4a24ab0c3699af7a26a01321d4c27a3d00f5cfcb Mon Sep 17 00:00:00 2001 From: cmpilato Date: Mon, 26 Sep 2005 19:34:41 +0000 Subject: [PATCH] * 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-e597b4017df7 --- lib/viewcvs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/viewcvs.py b/lib/viewcvs.py index 73390bb4..570a9c24 100644 --- a/lib/viewcvs.py +++ b/lib/viewcvs.py @@ -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: