summaryrefslogtreecommitdiff
path: root/.dockerignore
diff options
context:
space:
mode:
authorPaul Kuberry <pkuberry@gmail.com>2021-08-26 14:51:08 -0600
committerGitHub <noreply@github.com>2021-08-26 13:51:08 -0700
commitabfd8fa70b54e5b9afe0f25abc4bddb4b9164ac1 (patch)
tree4ff2b6029cbcabfed2a036228abbd4ef1c12319b /.dockerignore
parent6eb942cf456e8f2db328d5ea0dff52eb4f013aba (diff)
downloadspack-abfd8fa70b54e5b9afe0f25abc4bddb4b9164ac1.tar.gz
spack-abfd8fa70b54e5b9afe0f25abc4bddb4b9164ac1.tar.bz2
spack-abfd8fa70b54e5b9afe0f25abc4bddb4b9164ac1.tar.xz
spack-abfd8fa70b54e5b9afe0f25abc4bddb4b9164ac1.zip
Conditionally remove 'context' from kwargs in _urlopen (#25316)
* Conditionally remove 'context' from kwargs in _urlopen Previously, 'context' is purged from kwargs in _urlopen to conform to varying support for 'context' in different versions of urllib. This fix tries to use 'context', and then removes it if an exception is thrown and tries again. * Specify error type in try statement in _urlopen Specify TypeError when checking if 'context' is in kwargs for _urlopen. Also, if try fails, check that 'context' is in the error message before removing from kwargs.
Diffstat (limited to '.dockerignore')
0 files changed, 0 insertions, 0 deletions