Closed jensens closed 2 years ago
Very likely related to #70
'obj' is technically local to the loop iterating all objects returned from the query. It's defined inside the iterator. Referencing 'obj' outside of that loop is not correct, and if the iterator guard is false at entry, you never enter the loop and define 'obj'.
Issue #70 and PR #71 very likely will remove this edge-case error.
I'm going to go out on a limb and close this. Please feel free to re-open if #71 didn't resolve this.
If you can find how you triggered tool.py to call 'change' with a query that finds zero objects, that would be useful to look at and may uncover another bug.
On rename I got a
(Using 4.0.0. release)