X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=bin%2Fmudpy;fp=bin%2Fmudpy;h=e946462be04a679b6db5be019aefd7be34b2b5af;hp=b1071e3417a07671bd58b3557b1d390b6f55e540;hb=d1bb931c57c032deaf555bbf0df85cfe4a787c70;hpb=1ea09b81fed5028954588048880577220964d3a3 diff --git a/bin/mudpy b/bin/mudpy index b1071e3..e946462 100755 --- a/bin/mudpy +++ b/bin/mudpy @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- """Skeletal executable for the mudpy engine.""" -# Copyright (c) 2004-2011 Jeremy Stanley . Permission +# Copyright (c) 2004-2013 Jeremy Stanley . Permission # to use, copy, modify, and distribute this software is granted under # terms provided in the LICENSE file distributed with this software. @@ -10,6 +10,7 @@ import os.path import sys sys.path.append( os.path.realpath("lib") ) +import imp import mudpy # start it up @@ -21,7 +22,7 @@ while not mudpy.misc.universe.terminate_flag or mudpy.misc.universe.userlist: # the world was flagged for a reload of all code/data if mudpy.misc.universe.reload_flag: - reload(mudpy) + imp.reload(mudpy) mudpy.misc.reload_data() mudpy.misc.universe.reload_flag = False