summaryrefslogtreecommitdiff
path: root/reconfigure/includers/auto.py
diff options
context:
space:
mode:
Diffstat (limited to 'reconfigure/includers/auto.py')
-rw-r--r--reconfigure/includers/auto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/reconfigure/includers/auto.py b/reconfigure/includers/auto.py
index c220d88..b5ba35a 100644
--- a/reconfigure/includers/auto.py
+++ b/reconfigure/includers/auto.py
@@ -52,7 +52,7 @@ class AutoIncluder (BaseIncluder):
else:
if child.origin is None:
child.origin = node.origin
- elif child.origin != node.origin:
+ if child.origin != node.origin:
node.children.remove(child)
result.setdefault(child.origin, RootNode()).children.append(self.decompose_rec(child, result))
else: