Ok, did a little python research, this should work as well and is a bit more elegant:

```python
    if cmp(versionParts, [0, 6, 15]) < 0:
        print 'Node version needs to be higher than 0.6.15'
        errors = True
    else:
        print 'Node is installed. Version:',  version