#NEWLINE# def get_hypervisor( self , obj ) : #NEWLINE# #INDENT# if ( obj . hypervisor is None ) : #NEWLINE# #INDENT# return _ ( 'Not set' ) #NEWLINE# #UNINDENT# return '<a href="{}">{}</a>' . format ( reverse ( 'admin:data_center_datacenterasset_change' , args = ( obj . hypervisor . id , ) ) , obj . hypervisor . hostname )