A new user interface for you! Read more...

File maven_depmap-no-attribute-exit.patch of Package javapackages-tools

--- javapackages-2.0.1/java-utils/maven_depmap.py	2014-03-10 09:25:02.081196397 -0400
+++ javapackages-2.0.1/java-utils/maven_depmap.py.mod	2014-03-10 09:25:35.499433928 -0400
@@ -236,9 +236,9 @@
 # Add a file to a ZIP archive (or JAR, WAR, ...) unless the file
 # already exists in the archive.  Provided by Tomas Radej.
 def append_if_missing(archive_name, file_name, file_contents):
-    with ZipFile(archive_name, 'a') as archive:
-        if file_name not in archive.namelist():
-            archive.writestr(file_name, file_contents)
+    archive = ZipFile(archive_name, 'a')
+    if file_name not in archive.namelist():
+        archive.writestr(file_name, file_contents)
 
 # Inject pom.properties if JAR doesn't have one.  This is necessary to
 # identify the origin of JAR files that are present in the repository.