#NEWLINE# def get_zone( self , zone_id ) : #NEWLINE# #INDENT# path = ( API_ROOT + ( 'zones/%s.xml' % zone_id ) ) #NEWLINE# self . connection . set_context ( { #NEWLINE# #INDENT# 'resource' : 'zone' , #NEWLINE# 'id' : zone_id , #NEWLINE# #UNINDENT# } ) #NEWLINE# data = self . connection . request ( data ) . object #NEWLINE# zone = self . _to_zone ( elem = data ) #NEWLINE# return zone