From 6fb85712f6bdc0c32970cd9e67fd406ece09d2d5 Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Sun, 9 Aug 2009 18:45:36 -0400 Subject: [PATCH] Remove calls to helppopup from outside templates svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2679 --- code/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/main.py b/code/main.py index 656c209..222520c 100755 --- a/code/main.py +++ b/code/main.py @@ -315,7 +315,7 @@ def getListDict(username, state): elif m.type.hvm: has_vnc[m] = "WTF?" else: - has_vnc[m] = "ParaVM"+helppopup("ParaVM Console") + has_vnc[m] = "ParaVM" max_memory = validation.maxMemory(username, state) max_disk = validation.maxDisk(username) checkpoint.checkpoint('Got max mem/disk') @@ -572,7 +572,6 @@ def infoDict(username, state, machine): ('memory', 'RAM'), 'DISK_INFO', ('state', 'state (xen format)'), - ('cpu_weight', 'CPU weight'+helppopup('CPU Weight')), ] fields = [] machine_info = {} @@ -626,7 +625,6 @@ def infoDict(username, state, machine): ram=machine.memory, max_mem=max_mem, max_disk=max_disk, - owner_help=helppopup("Owner"), fields = fields) return d -- 1.7.9.5