#NEWLINE# def _get_server_version_info( self , connection ) : #NEWLINE# #INDENT# dbapi_con = connection . connection #NEWLINE# version = [ ] #NEWLINE# r = re . compile ( '[.\\-]' ) #NEWLINE# for n in r . split ( dbapi_con . dbversion ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# version . append ( int ( n ) ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# version . append ( n ) #NEWLINE# #UNINDENT# #UNINDENT# return tuple ( version )