# -*- coding: utf-8 -*-
"""Data interface functions for the mudpy engine."""
-# Copyright (c) 2004-2011 Jeremy Stanley <fungi@yuggoth.org>. Permission
+# Copyright (c) 2004-2012 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.
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()
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(