Skip to content
Snippets Groups Projects

WS-601: fixing potential sites of UnboundLocalError

Merged Janet Goldstein requested to merge WS-601-fix-ref-before-assign-err into main
1 unresolved thread
  • fixed a couple potential (one actual) sites of UnboundLocalError
  • turned a few magic strings into constants

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
16 16 SCIENCE_PRODUCT_PATTERN = re.compile("[a-zA-Z0-9._\\-+]*\\.tar")
17 17 JSON = Union[int, float, str, List["JSON"], Dict[str, "JSON"]]
18 18
19 print()
20
  • added 1 commit

    • 59410d9e - WS-601: removed unneeded `print()` that was added to trigger a SonarLint scan

    Compare with previous version

  • Please register or sign in to reply
    Loading