Minor logic tweak to compare_application_version()

This commit is contained in:
Greg Neagle
2017-05-22 16:23:51 -07:00
parent f0e4df0dc3
commit 608e7133e4
+2 -2
View File
@@ -132,8 +132,8 @@ def compare_application_version(app):
compare_result = compare_bundle_version(test_app)
if compare_result in (VERSION_IS_THE_SAME, VERSION_IS_HIGHER):
return compare_result
else:
end_result = compare_result
elif compare_result == VERSION_IS_LOWER:
end_result = VERSION_IS_LOWER
# didn't find an app with the same or higher version
if end_result == VERSION_IS_LOWER: