diff options
author | Olav Vitters <ovitters@mageia.org> | 2013-01-16 09:40:29 +0000 |
---|---|---|
committer | Olav Vitters <ovitters@mageia.org> | 2013-01-16 09:40:29 +0000 |
commit | cb29b72786abc25da815b37098e097f1478308f0 (patch) | |
tree | 1d32022db60c0c7f2d5e0814d5599052be8e35b0 | |
parent | c157255cf6cd2119930647c9c8b3ca8c4e264e7e (diff) | |
download | mgagnome-cb29b72786abc25da815b37098e097f1478308f0.tar mgagnome-cb29b72786abc25da815b37098e097f1478308f0.tar.gz mgagnome-cb29b72786abc25da815b37098e097f1478308f0.tar.bz2 mgagnome-cb29b72786abc25da815b37098e097f1478308f0.tar.xz mgagnome-cb29b72786abc25da815b37098e097f1478308f0.zip |
just lower case everything
-rwxr-xr-x | mgagnome | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -83,7 +83,7 @@ def get_latest_version(versions, max_version=None): return latest MAJOR_VERSIONS = { - 'NetworkManager': set(('0.9',)), + # NAMES MUST BE IN LOWERCASE! 'networkmanager': set(('0.9',)), 'networkmanager-applet': set(('0.9',)), 'networkmanager-openconnect': set(('0.9',)), @@ -95,8 +95,8 @@ MAJOR_VERSIONS = { def get_majmin(version, module=None): nrs = version.split('.') - if module and module in MAJOR_VERSIONS: - module_versions = [version.split(".") for version in MAJOR_VERSIONS[module]] + if module and module.lower() in MAJOR_VERSIONS: + module_versions = [version.split(".") for version in MAJOR_VERSIONS[module.lower()]] nrstest = nrs[:] |