Skip to content

Commit

Permalink
Add comment to main() return
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed Apr 30, 2020
1 parent f0526c2 commit 3f5aa82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions twine/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ def dispatch(argv: List[str]) -> bool:

main = registered_commands[args.command].load()

# Normalizing return type for simplicity
# register() and upload() returns None, check() returns bool
return bool(main(args.args))

0 comments on commit 3f5aa82

Please sign in to comment.