From 4dfbafb339d9456d595efcdfd12219b6df0d8170 Mon Sep 17 00:00:00 2001 From: "chris.schmidt" Date: Wed, 18 Feb 2015 09:22:57 -0700 Subject: [PATCH] Removed version check from main as it is checked in the download function. Having the check here was breaking "latest version" functionality. --- packaging/maven_artifact.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packaging/maven_artifact.py b/packaging/maven_artifact.py index bf4ca59f92c..75837050892 100755 --- a/packaging/maven_artifact.py +++ b/packaging/maven_artifact.py @@ -349,8 +349,7 @@ def main(): prev_state = "absent" if os.path.isdir(dest): - dest = dest + "/" + artifact_id + "-" + version + ".jar" - + dest = dest + "/" + artifact_id + "-" + version + "." + extension if os.path.lexists(dest): prev_state = "present" else: