Module import errors on check_swift_storage.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Swift Storage Charm |
Fix Released
|
High
|
Tiago Pasqualini da Silva |
Bug Description
Commit I98f4e666408040
$ ./check_
Traceback (most recent call last):
File "./check_
data = urllib.
AttributeError: module 'urllib' has no attribute 'request'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./check_
results.
File "./check_
except urllib.
AttributeError: module 'urllib' has no attribute 'error'
This can be easily fixed by explicitly importing the modules inside the package.
tags: | added: sts |
Changed in charm-swift-storage: | |
milestone: | none → 19.04 |
importance: | Undecided → High |
Changed in charm-swift-storage: | |
status: | Fix Committed → Fix Released |
Patch: https:/ /review. openstack. org/#/c/ 648703/