lockutils is a silent noop when called as a module
Bug #1386734 reported by
Ben Nemec
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.concurrency |
Fix Released
|
High
|
Ben Nemec |
Bug Description
In incubator, lockutils was a callable module that was used to wrap unit tests that needed a lock_path set. This was changed to be a console script entry point in the library, but if a project continues calling lockutils directly it will silently do nothing, which led to issues such as the one mentioned in https:/
We need to raise an exception when lockutils is called directly so that this can't happen anymore.
Changed in oslo.concurrency: | |
assignee: | nobody → Ben Nemec (bnemec) |
status: | New → Triaged |
importance: | Undecided → High |
Changed in oslo.concurrency: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed by https:/ /review. openstack. org/#/c/ 131468/