Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
javapackages-tools
maven_depmap-no-attribute-exit.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor