"""Data interface functions for the mudpy engine."""
-# Copyright (c) 2004-2018 Jeremy Stanley <fungi@yuggoth.org>. Permission
-# to use, copy, modify, and distribute this software is granted under
-# terms provided in the LICENSE file distributed with this software.
+# Copyright (c) 2004-2018 mudpy authors. Permission to use, copy,
+# modify, and distribute this software is granted under terms
+# provided in the LICENSE file distributed with this software.
import os
import re
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