[pkg] avoid choking on latest gnupg version
authorKali Kaneko <kali@leap.se>
Thu, 23 Jul 2015 18:34:53 +0000 (14:34 -0400)
committerKali Kaneko <kali@leap.se>
Thu, 23 Jul 2015 18:34:53 +0000 (14:34 -0400)
commit8d355cabd0b087b5e7161c2721bb8ae94ace1336
treec66297853cdc4c89cec06a38b7d46b68d21c4563
parent5b5e5b935b58f430dc12842bc111b2ba9d0973a9
[pkg] avoid choking on latest gnupg version

latest gnupg version (from pypi) was '2.0.2-py2.7.egg', which is parsed
as a LegacyVersion and therefore breaks the numeric comparison. this is
a workaround to allow the sanity check to continue, by comparing just
the numeric part of the version string.
src/leap/keymanager/__init__.py