#NEWLINE# def __init__( self , prefix , deprecated_mapping = None , has_port = False , address_field = 'address' ) : #NEWLINE# #INDENT# mapping = { #NEWLINE# #INDENT# 'pm_addr' : ( '%s_%s' % ( prefix , address_field ) ) , #NEWLINE# 'pm_user' : ( '%s_username' % prefix ) , #NEWLINE# 'pm_password' : ( '%s_password' % prefix ) , #NEWLINE# #UNINDENT# } #NEWLINE# if has_port : #NEWLINE# #INDENT# mapping [ 'pm_port' ] = ( '%s_port' % prefix ) #NEWLINE# #UNINDENT# self . _has_port = has_port #NEWLINE# super ( PrefixedDriverInfo , self ) . __init__ ( prefix , mapping , deprecated_mapping = deprecated_mapping )