summaryrefslogtreecommitdiffstats
path: root/mgagnome
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2013-09-17 23:05:43 +0200
committerOlav Vitters <olav@vitters.nl>2013-09-17 23:05:43 +0200
commitac3e04894afcc058ae1db72b5653cee71fee7191 (patch)
treef1ee45458df285d454d85c758c5286622cae9b10 /mgagnome
parentb0d19486ad3cfda2ec32bc795778b097131bbe24 (diff)
downloadmgagnome-ac3e04894afcc058ae1db72b5653cee71fee7191.tar
mgagnome-ac3e04894afcc058ae1db72b5653cee71fee7191.tar.gz
mgagnome-ac3e04894afcc058ae1db72b5653cee71fee7191.tar.bz2
mgagnome-ac3e04894afcc058ae1db72b5653cee71fee7191.tar.xz
mgagnome-ac3e04894afcc058ae1db72b5653cee71fee7191.zip
fix bug when there are multiple possible versions
Diffstat (limited to 'mgagnome')
-rwxr-xr-xmgagnome2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgagnome b/mgagnome
index a61523a..690d65a 100755
--- a/mgagnome
+++ b/mgagnome
@@ -780,7 +780,7 @@ class Downstream(object):
# - if the latest_possible_spec version is not the latest version, then
# ensure it follows get_safe_max_version
if latest_version != latest_possible_version and version_cmp(get_safe_max_version(latest_version, upstream), \
- version):
+ version) != 1:
raise ValueError("Multiple packages found and unsafe version increase: %s (%s => %s)" % (upstream, latest_version, version))
# - now really get the right packages