deploy and upgrade-charm give unhelpful errors when repository not specified
Bug #868729 reported by
William Reade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Undecided
|
William Reade |
Bug Description
NoneType has no attribute endswith
We should detect the fact that we're trying to look in a local repository without a path specified before this happens, and inform the user in some helpful way.
Related branches
lp://qastaging/~fwereade/pyjuju/handle-missing-repository
- Gustavo Niemeyer: Approve
- Kapil Thangavelu (community): Approve
-
Diff: 195 lines (+76/-10)7 files modifiedjuju/charm/config.py (+1/-1)
juju/charm/errors.py (+14/-2)
juju/charm/repository.py (+3/-1)
juju/charm/tests/test_errors.py (+20/-2)
juju/charm/tests/test_repository.py (+17/-4)
juju/control/tests/test_deploy.py (+10/-0)
juju/control/tests/test_upgrade_charm.py (+11/-0)
Changed in juju: | |
status: | New → In Progress |
assignee: | nobody → William Reade (fwereade) |
Changed in juju: | |
milestone: | none → eureka |
Changed in juju: | |
status: | In Progress → Fix Released |
To post a comment you must log in.