You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We noticed that there is an action here that that converts --debug to --verbose 1. We probably don't need that. Since in the preceding statement, --verbose is established, with a default of 0, we could probably rewrite --debug as a store_const action, with value 1 and dest="verbose".
jobsub_lite/lib/get_parser.py
Line 215 in e260b99
We noticed that there is an action here that that converts
--debug
to--verbose 1
. We probably don't need that. Since in the preceding statement,--verbose
is established, with a default of 0, we could probably rewrite--debug
as astore_const
action, with value1
anddest="verbose"
.See https://github.com/fermitools/Ferry-CLI/blob/master/ferry_cli/helpers/auth.py#L183 for an example of how this could be done.
This would allow us to simplify the code and get rid of a custom action.
The text was updated successfully, but these errors were encountered: