Show More
@@ -300,7 +300,7 b' def update_instances(old, new):' | |||||
300 |
|
300 | |||
301 | for ref in refs: |
|
301 | for ref in refs: | |
302 | if type(ref) is old: |
|
302 | if type(ref) is old: | |
303 |
ref |
|
303 | object.__setattr__(ref, "__class__", new) | |
304 |
|
304 | |||
305 |
|
305 | |||
306 | def update_class(old, new): |
|
306 | def update_class(old, new): |
General Comments 0
You need to be logged in to leave comments.
Login now