david-caro/python-foreman — pull request #6 by ekohl (2013-12-18 16:54:20+00:00)
Title: Treat version components as integers

>>> '1.0.1'.split('.')[1]
'0'
>>> '1.0.1'.split('.')[1] >= 1
True
>>> int('1.0.1'.split('.')[1]) >= 1
False