@@ -140,7 +140,7 @@ def node_validate(node_dict, node_num, cmd_name):
140140 False : req_lu [cmd_name ][1 ]}
141141 node_valid = bool (req_lu [cmd_name ][0 ] == node_dict [node_num ].state )
142142 node_info = tm [node_valid ]
143- return ( node_valid , node_info )
143+ return node_valid , node_info
144144
145145
146146def cmd_startstop (node , cmd_name , node_info ):
@@ -234,7 +234,7 @@ def ssh_get_info(node):
234234 keyname = items ['key' == 'ssh-keys' ].get ('value' , "" )
235235 pos = keyname .find (":" )
236236 ssh_user = keyname [0 :pos ]
237- return ( ssh_user , ssh_key )
237+ return ssh_user , ssh_key
238238
239239
240240def ssh_calc_aws (node ):
@@ -252,7 +252,7 @@ def ssh_calc_aws(node):
252252
253253
254254def ui_print (to_print ):
255- """Print text without charrage return."""
255+ """Print text without carriage return."""
256256 sys .stdout .write (to_print )
257257 sys .stdout .flush ()
258258
@@ -271,7 +271,7 @@ def ui_cmd_title(cmd_title):
271271def ui_cmd_bar ():
272272 """Display Command Bar."""
273273 cmd_bar = ("\r SELECT COMMAND - {2}(R){1}un {0}(C){1}onnect "
274- "{3}(S){1}top {0}(U){1}pdate Info "
274+ "{3}(S){1}top {0}(U){1}pdate"
275275 " {0}(Q){1}uit: " .
276276 format (C_TI , C_NORM , C_GOOD , C_ERR ))
277277 # FUTURE - TO BE USED WHEN DETAILS IMPLEMENTED
@@ -315,7 +315,7 @@ def input_flush():
315315
316316
317317def input_by_key ():
318- """Get user input using inkey to prevent /n printing at end."""
318+ """Get user input using term. inkey to prevent /n printing at end."""
319319 usr_inp = ''
320320 input_valid = True
321321 input_flush ()
0 commit comments