Internal function to convert a version string to an integer.

def _revint(self, version):
        '''
        Internal function to convert a version string to an integer.
        '''
        intrev = 0
        vsplit = version.split('.')
        for c in range(len(vsplit)):
            item = int(vsplit[c]) * (10 ** (((len(vsplit) - c - 1) * 2)))
            intrev += item
        return intrev