#NEWLINE# def _to_zone( self , item ) : #NEWLINE# #INDENT# extra = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if ( 'records' in item ) : #NEWLINE# #INDENT# extra [ 'records' ] = item [ 'records' ] #NEWLINE# #UNINDENT# if ( item [ 'type' ] == 'NATIVE' ) : #NEWLINE# #INDENT# item [ 'type' ] = 'master' #NEWLINE# #UNINDENT# zone = Zone ( id = item [ 'id' ] , domain = item [ 'name' ] , type = item [ 'type' ] , ttl = item [ 'ttl' ] , driver = self , extra = self ) #NEWLINE# return zone