#NEWLINE# def _parse_version_info( self , version ) : #NEWLINE# #INDENT# m = match ( '\\w+-V(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)( \\w+ (\\d+)\\.(\\d+))?' , version ) #NEWLINE# if ( not m ) : #NEWLINE# #INDENT# raise AssertionError ( ( "Could not determine version from string '%s'" % self ) ) #NEWLINE# #UNINDENT# if ( m . group ( 5 ) != None ) : #NEWLINE# #INDENT# return tuple ( ( [ int ( x ) for x in m . group ( 6 , 7 , 4 ) ] + [ 'firebird' ] ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return tuple ( ( [ int ( x ) for x in m . group ( 1 , 2 , 3 ) ] + [ 'interbase' ] ) )