X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/2228890d6210e10d9ea3c24cb123a4d6b47f36b9..6b994fdb8ab70ce4c2eafb8f2f0ff2648f3ff1ef:/blib2to3/pytree.py?ds=inline diff --git a/blib2to3/pytree.py b/blib2to3/pytree.py index b24866e..61df2b6 100644 --- a/blib2to3/pytree.py +++ b/blib2to3/pytree.py @@ -132,6 +132,8 @@ class Base(object): return node.lineno def changed(self): + if self.was_changed: + return if self.parent: self.parent.changed() self.was_changed = True