Return code on parsing error
Bug #1163343 reported by
Javier Collado
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UTAH |
Fix Released
|
Low
|
Javier Collado |
Bug Description
The argparse library returns 2 when a parsing error happens. This might be
confusing since both the client and the server already use this return code. It
could be fixed either by changing the values used by server and client or by
subclassing the ArgumentParser class. The former option is easier, but the
latter is more explicit and doesn't rely on that value not being changed in the
future.
Related branches
lp://qastaging/~javier.collado/utah/bug1163343
- Javier Collado (community): Approve
- Andy Doan (community): Approve
- Max Brustkern (community): Approve
-
Diff: 178 lines (+87/-3)7 files modifiedclient.py (+7/-1)
debian/changelog (+1/-0)
examples/run_utah_tests.py (+10/-2)
tests/test_run_utah_tests.py (+50/-0)
utah/client/common.py (+2/-0)
utah/client/tests/test_client.py (+16/-0)
utah/run.py (+1/-0)
Changed in utah: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in utah: | |
assignee: | nobody → Javier Collado (javier.collado) |
Changed in utah: | |
status: | Triaged → In Progress |
milestone: | none → 0.13 |
Changed in utah: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.