#NEWLINE# def IPCommandFailed( self , result , cmd ) : #NEWLINE# #INDENT# 'If an /sbin/ip command failed, log and return True.' #NEWLINE# if self . system . RunCommandFailed ( result , ( 'Non-zero exit status from: "%s"' % result ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False