#NEWLINE# def unplug( self , network ) : #NEWLINE# #INDENT# dev = self . get_dev ( network ) #NEWLINE# if ( not device_exists ( dev ) ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# delete_net_dev ( dev ) #NEWLINE# return network