saltstack/salt — Issue #492: Yet another version compare error on yum-based systems
Author: whiteinge
Created: 2012-01-12 18:30:25+00:00
State: open

The trailing '.el5' is throwing off the comparison. Presumably this affects all systems using yum.

```
>>> t = LooseVersion('2.6.18-274.17.1.el5')
>>> y = LooseVersion('2.6.18-274.el5')
>>> y > t
```