#NEWLINE# def get_version( dep ) : #NEWLINE# #INDENT# version = dep [ ( dep . rfind ( ':' ) + 1 ) : ] #NEWLINE# if ( '@' in version ) : #NEWLINE# #INDENT# version = version [ : version . find ( '@' ) ] #NEWLINE# #UNINDENT# return version