From: Quentin Smith Date: Sun, 27 May 2018 06:43:43 +0000 (-0400) Subject: Don't show renumber button for 'renumber' other_action X-Git-Tag: 0.1.51~2 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/44bf62642b9d84f1309e0fc257177259450e6d2a Don't show renumber button for 'renumber' other_action --- diff --git a/code/main.py b/code/main.py index cfee9f7..6587484 100755 --- a/code/main.py +++ b/code/main.py @@ -676,7 +676,7 @@ def infoDict(username, state, machine): renumber = False for n in machine.nics: - if n.other_action in ('renumber', 'renumber_dhcp'): + if n.other_action == 'renumber_dhcp': renumber = True main_status['memory'] += ' MiB'