ext.mutable:MutableBase.set has undefined reference to 'state'

Issue #2143 resolved
Former user created an issue

http://hg.sqlalchemy.org/sqlalchemy/file/5b8a84ea4444c8d0e8aa4c2b9565e019cfa245a1/lib/sqlalchemy/ext/mutable.py#l372

class MutableBase(object):
    ...
    def set(target, value, oldvalue, initiator):
        ...
                oldvalue._parents.pop(state.obj(), None)

Presumably state should be target.

Excuse the lack of test script, I hope it's sufficiently obvious.

  • shazow

Comments (3)

  1. Log in to comment