Skip to content

Handle empty tar-balls gracefully on old Python#187

Merged
jmchilton merged 1 commit intogalaxyproject:masterfrom
peterjc:empty_tarball
May 8, 2015
Merged

Handle empty tar-balls gracefully on old Python#187
jmchilton merged 1 commit intogalaxyproject:masterfrom
peterjc:empty_tarball

Conversation

@peterjc
Copy link
Contributor

@peterjc peterjc commented May 7, 2015

This is a workaround for http://bugs.python.org/issue6123 where older versions of Python fail to handle an empty tar-ball.

(I found this during re-factoring where an error elsewhere in the shed_upload logic was resulting in empty tar-balls being generated)

@peterjc peterjc force-pushed the empty_tarball branch 2 times, most recently from b844da2 to 0cff45f Compare May 8, 2015 15:09
@peterjc
Copy link
Contributor Author

peterjc commented May 8, 2015

(Updated to use Python 3 compatible exception syntax)

jmchilton added a commit that referenced this pull request May 8, 2015
Handle empty tar-balls gracefully on old Python
@jmchilton jmchilton merged commit fd646fa into galaxyproject:master May 8, 2015
@jmchilton
Copy link
Member

Awesome - thanks for the fix!

@peterjc peterjc deleted the empty_tarball branch May 8, 2015 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants