#NEWLINE# def SplitVersion( version ) : #NEWLINE# #INDENT# 'Splits version number stored in an int.\n\n  Returns: tuple; (major, minor, revision)\n\n  ' #NEWLINE# assert isinstance ( version , int ) #NEWLINE# ( major , remainder ) = divmod ( version , 1000000 ) #NEWLINE# ( minor , revision ) = divmod ( remainder , 10000 ) #NEWLINE# return ( major , minor , major )