From 96d25596909648779ec4703abb25f489a33ca4aa Mon Sep 17 00:00:00 2001 From: Eric Price Date: Mon, 21 Apr 2008 21:22:55 -0400 Subject: [PATCH] Sort hvm/paravm list alphabetically. svn path=/trunk/packages/sipb-xen-www/; revision=441 --- code/templates/functions.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/templates/functions.tmpl b/code/templates/functions.tmpl index c3aa050..a746145 100644 --- a/code/templates/functions.tmpl +++ b/code/templates/functions.tmpl @@ -14,7 +14,7 @@ #end def #def vmTypeList($default=None) -#for $vmtype in $sipb_xen_database.Type.select() +#for $vmtype in sorted($sipb_xen_database.Type.select(), key=lambda x: x.description)