#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# super ( HostMeta , self ) . __init__ ( ) #NEWLINE# self . attributes . append ( ( 'xmlns:hm' , 'http://host-meta.net/ns/1.0' ) ) #NEWLINE# hosts = getattr ( settings , 'WELLKNOWN_HOSTMETA_HOSTS' , ( 'example.com' , ) ) #NEWLINE# for host in hosts : #NEWLINE# #INDENT# self . elements . append ( Element ( 'hm:Host' , host ) )