commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/719201cb28d3/ Changeset: 719201cb28d3 User: Dave Bouvier Date: 2013-06-19 21:03:26 Summary: Fix for tool dependency installation when tarballs raise non-fatal errors, for example if the tarball contains a symlink to a file that does not exist on the local syste. Affected #: 1 file diff -r ae5a239a811224a898267e38ab5255d9bf7170f5 -r 719201cb28d3f89b31e6d52f12f1c6f0cc1c0fef lib/tool_shed/galaxy_install/tool_dependencies/common_util.py --- a/lib/tool_shed/galaxy_install/tool_dependencies/common_util.py +++ b/lib/tool_shed/galaxy_install/tool_dependencies/common_util.py @@ -74,9 +74,9 @@ def extract_tar( file_name, file_path ): if isgzip( file_name ) or isbz2( file_name ): # Open for reading with transparent compression. - tar = tarfile.open( file_name, 'r:*' ) + tar = tarfile.open( file_name, 'r:*', errorlevel=0 ) else: - tar = tarfile.open( file_name ) + tar = tarfile.open( file_name, errorlevel=0 ) tar.extractall( path=file_path ) tar.close() https://bitbucket.org/galaxy/galaxy-central/commits/adee6fc31991/ Changeset: adee6fc31991 Branch: stable User: Dave Bouvier Date: 2013-06-19 21:03:26 Summary: Fix for tool dependency installation when tarballs raise non-fatal errors, for example if the tarball contains a symlink to a file that does not exist on the local syste. Affected #: 1 file diff -r 1dd854e7d590eb4a6b7b756008288705532323d6 -r adee6fc31991ee4291a28e4e209ef9583ba811ab lib/tool_shed/galaxy_install/tool_dependencies/common_util.py --- a/lib/tool_shed/galaxy_install/tool_dependencies/common_util.py +++ b/lib/tool_shed/galaxy_install/tool_dependencies/common_util.py @@ -74,9 +74,9 @@ def extract_tar( file_name, file_path ): if isgzip( file_name ) or isbz2( file_name ): # Open for reading with transparent compression. - tar = tarfile.open( file_name, 'r:*' ) + tar = tarfile.open( file_name, 'r:*', errorlevel=0 ) else: - tar = tarfile.open( file_name ) + tar = tarfile.open( file_name, errorlevel=0 ) tar.extractall( path=file_path ) tar.close() Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org