HTD should present a meaningful error if the location is not a string
Bug #1036377 reported by
Andrew Hayzen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HTD |
Fix Released
|
Low
|
Simon Bull |
Bug Description
Hi
Currently if the location for:
htd.create
htd.connect
Is not a string then the user is presented with the error message below, instead HTD should present a more meaningful error message.
AttributeError: 'bool' object has no attribute 'startswith'
Thanks,
Andy
Related branches
lp:~simon-d-bull/htd/3.1.fix_parameter_type_checks
- Andrew Hayzen: Approve
-
Diff: 61 lines (+18/-7)2 files modifiedhtd31/__init__.py (+14/-7)
htd31/_objects/connection.py (+4/-0)
Changed in htd: | |
status: | New → Triaged |
importance: | Undecided → Low |
summary: |
- HTD present a 'nice' error if the location is not a string + HTD should present a meaningful error if the location is not a string |
Changed in htd: | |
milestone: | none → 3.1alpha-2 |
assignee: | nobody → Simon Bull (simon-d-bull) |
Changed in htd: | |
milestone: | 3.1alpha-2 → 3.1beta1 |
Changed in htd: | |
status: | Triaged → In Progress |
Changed in htd: | |
status: | In Progress → Fix Committed |
Changed in htd: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.