def _execute2(*args, **kargs):
 cmd = (args[1:(-3)] if (args[0] == 'raidcom') else args)
 result = EXECUTE_TABLE2.get(cmd, CMD_SUCCEED)
 return result

def _execute2 ( * args , ** kargs ) : cmd = ( args [ 1 : ( - 3 ) ] if ( args [ 0 ] == 'raidcom' ) else args ) result = EXECUTE_TABLE2 . get ( cmd , CMD_SUCCEED ) return result
return predefined results based on execute_table2 .