X-Git-Url: https://mudpy.org/gitweb?a=blobdiff_plain;f=mudpy%2Fdata.py;h=25b423b66e2cc3fd113d146779528d2f91c02c42;hb=7f557c4a6a874ea3fab1ca90f207dc3de91595dc;hp=637104598974b8aa80f8c22ffc60dc55f2926c8d;hpb=db8edcf9c6070a39c6205ac0e1cd9e811fa08312;p=mudpy.git diff --git a/mudpy/data.py b/mudpy/data.py index 6371045..25b423b 100644 --- a/mudpy/data.py +++ b/mudpy/data.py @@ -1,8 +1,8 @@ """Data interface functions for the mudpy engine.""" -# Copyright (c) 2004-2018 Jeremy Stanley . 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 @@ -74,13 +74,7 @@ class Data: 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