Don't show renumber button for 'renumber' other_action
authorQuentin Smith <quentin@mit.edu>
Sun, 27 May 2018 06:43:43 +0000 (02:43 -0400)
committerQuentin Smith <quentin@mit.edu>
Sun, 27 May 2018 07:03:49 +0000 (03:03 -0400)
code/main.py

index cfee9f7..6587484 100755 (executable)
@@ -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'