#NEWLINE# def __get_admin_connection( self , instance = None ) : #NEWLINE# #INDENT# '\n        endpoint is on the form HOST:PORT\n        ' #NEWLINE# if instance : #NEWLINE# #INDENT# return ( endpoint . address , instance . port ) #NEWLINE# #UNINDENT# endpoint = self . databaseinfra . endpoint . split ( ':' ) #NEWLINE# return ( endpoint [ 0 ] , int ( endpoint [ 1 ] ) )