From 5a33d13f0e80111dac058a332e01c3639038bde5 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Thu, 28 Feb 2013 17:17:39 +0000 Subject: [PATCH] Also merge elements --- merge.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/merge.py b/merge.py index 273c22d..7feb550 100644 --- a/merge.py +++ b/merge.py @@ -29,6 +29,8 @@ class Context: # they'll get copied over anyway for x in childNodes(node, XMLNS_IFACE, 'requires'): self.requires.append(x) + for x in childNodes(node, XMLNS_IFACE, 'restricts'): + self.requires.append(x) for x in childNodes(node, XMLNS_IFACE, 'command'): command_name = x.getAttribute('name') if command_name not in self.commands: -- 2.11.4.GIT