Show More
@@ -323,7 +323,6 def update_instances(old, new, objects=None, visited={}): | |||
|
323 | 323 | def update_class(old, new): |
|
324 | 324 | """Replace stuff in the __dict__ of a class, and upgrade |
|
325 | 325 | method code objects, and add new methods, if any""" |
|
326 | print('old is', id(old)) | |
|
327 | 326 | for key in list(old.__dict__.keys()): |
|
328 | 327 | old_obj = getattr(old, key) |
|
329 | 328 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now