-# Copyright (c) 2004-2016 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.
# core objects for the mudpy engine
-import imp
+import importlib
import sys
import mudpy
# the world was flagged for a reload of all code/data
if mudpy.misc.universe.reload_flag:
- imp.reload(mudpy)
+ importlib.reload(mudpy)
mudpy.misc.reload_data()
mudpy.misc.universe.reload_flag = False