In arv-copy command, fix name error in "except" clause
authorZoë Ma <zoe.ma@curii.com>
Mon, 17 Jun 2024 03:30:04 +0000 (11:30 +0800)
committerZoë Ma <zoe.ma@curii.com>
Mon, 17 Jun 2024 03:30:04 +0000 (11:30 +0800)
commit07f1a77095b132c6054091e28707593f0f88b59f
tree61d7cdc3f75f878c7f7edc9406f094c9867d8138
parent40e2ab46fe4b58ad8af81d77b293dfa86f981575
In arv-copy command, fix name error in "except" clause

In arv_copy.py, when getting or putting (as part of "arv-copy"
operation), the exception-handling clause had undefined names in
themselves.  This would not only throw a hard error at the user but also
prevent subsequent cleanup of the queues.

Fixed by binding the variable name to the exception.

Arvados-DCO-1.1-Signed-off-by: Zoë Ma <zoe.ma@curii.com>
sdk/python/arvados/commands/arv_copy.py