Skip to content
Snippets Groups Projects

WS-179: subtask #6 -- remove argparse namespace dependencies in classes

Merged Janet Goldstein requested to merge WS-179-6-kill-namespace-dependencies into main
3 unresolved threads
3 files
+ 22
28
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -52,7 +52,7 @@ class NGASFileRetriever:
download_url = "http://" + server + "/RETRIEVE"
destination = self._get_destination(file_spec)
if destination.exists() and not self.force_overwrite and not self.dry_run:
raise FileExistsError(f"{destination} exists; aborting")
raise FileErrorException(f"{destination} exists; aborting")
self._make_basedir(destination)
Loading