X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=lib%2Fmudpy%2Fdata.py;h=cdb114ff6049e5cda3ae33db98546895faacebd5;hp=243a28bc93f914c864d311750f36a70ee12fd07f;hb=f5e94fa07660dbcfd3e5531c40bc3064679b2f95;hpb=6d5ab6d7121d6e249c23cab0257c7c9d8d247e70 diff --git a/lib/mudpy/data.py b/lib/mudpy/data.py index 243a28b..cdb114f 100644 --- a/lib/mudpy/data.py +++ b/lib/mudpy/data.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Data interface functions for the mudpy engine.""" -# Copyright (c) 2004-2011 Jeremy Stanley . Permission +# Copyright (c) 2004-2012 Jeremy Stanley . Permission # to use, copy, modify, and distribute this software is granted under # terms provided in the LICENSE file distributed with this software. @@ -18,7 +18,7 @@ class DataFile: def load(self): """Read a file and create elements accordingly.""" import ConfigParser - import misc + import mudpy.misc import os import os.path self.data = ConfigParser.RawConfigParser() @@ -83,7 +83,7 @@ class DataFile: self.universe.private_files.append(item) for section in self.data.sections(): if section != "__control__": - misc.Element(section, self.universe, self.filename) + mudpy.misc.Element(section, self.universe, self.filename) for include_file in includes: if not os.path.isabs(include_file): include_file = find_file(