Skip to content

Commit

Permalink
Reduce variable scope
Browse files Browse the repository at this point in the history
Non-functional change; independent of upcoming refactor, so pulling out for
clarity.
  • Loading branch information
khk-globus committed Dec 3, 2024
1 parent 02d4c98 commit 73763ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compute_endpoint/globus_compute_endpoint/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@ def _do_start_endpoint(
reg_info = stdin_data.get("amqp_creds", {})
config_str = stdin_data.get("config", None)

del stdin_data # clarity for intended scope

except Exception as e:
exc_type = e.__class__.__name__
log.debug("Invalid info on stdin -- (%s) %s", exc_type, e)
Expand Down

0 comments on commit 73763ee

Please sign in to comment.