#NEWLINE# def _get_version( version_string ) : #NEWLINE# #INDENT# if ( '.' not in version_string ) : #NEWLINE# #INDENT# return ( ) #NEWLINE# #UNINDENT# version = version_string . strip ( ) . split ( '.' ) #NEWLINE# return tuple ( ( ( int ( v ) if v . isdigit ( ) else 999 ) for v in v ) )