# HG changeset patch # User Paul Boddie # Date 1382958775 -3600 # Node ID 8fff693519529c0021fb23b35bc2baa8cb7a1217 # Parent f0ec81f0678fae802e239420b62dc2562cefe96a Fixed broken LocalAttr initialisation. diff -r f0ec81f0678f -r 8fff69351952 micropython/data.py --- a/micropython/data.py Sun Oct 27 16:54:03 2013 +0100 +++ b/micropython/data.py Mon Oct 28 12:12:55 2013 +0100 @@ -188,7 +188,7 @@ users = self.attribute_users[-1] if users.has_key(name): - return LocalAttr(None, self, name, nodes=users[name], attr=attr) + return LocalAttr(self, name, nodes=users[name], attr=attr) else: return attr @@ -563,8 +563,8 @@ later point. """ - def __init__(self, position, parent, name, nodes, attr): - BaseAttr.__init__(self, position, parent, name) + def __init__(self, parent, name, nodes, attr): + BaseAttr.__init__(self, parent, name) self.nodes = nodes or set() self.attr = attr self.users = None