projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Resolve included files only once
[mudpy.git]
/
mudpy
/
data.py
diff --git
a/mudpy/data.py
b/mudpy/data.py
index
6371045
..
be88d65
100644
(file)
--- a/
mudpy/data.py
+++ b/
mudpy/data.py
@@
-74,13
+74,7
@@
class Data:
includes = []
for node in list(self.data):
if node == "_load":
includes = []
for node in list(self.data):
if node == "_load":
- for included in self.data["_load"]:
- included = find_file(
- included,
- relative=self.source,
- universe=self.universe)
- if included not in includes:
- includes.append(included)
+ includes += self.data["_load"]
continue
if node.startswith("_"):
continue
continue
if node.startswith("_"):
continue