From: Jeremy Stanley Date: Mon, 6 Dec 2010 12:11:37 +0000 (+0000) Subject: PEP 8 conformance for daemon executable script X-Git-Tag: 0.0.1~295 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=0b17d02a2c57f91e776e301d3ac9540a19a2e41a;p=mudpy.git PEP 8 conformance for daemon executable script * bin/mudpy: Conform to the PEP 8 style guide. --- diff --git a/bin/mudpy b/bin/mudpy index a9aebc7..a0d764e 100755 --- a/bin/mudpy +++ b/bin/mudpy @@ -7,8 +7,9 @@ u"""Skeletal executable for the mudpy engine.""" # terms provided in the LICENSE file distributed with this software. # core objects for the mudpy engine -import os.path, sys -sys.path.append( os.path.realpath(u"lib") ) +import os.path +import sys +sys.path.append(os.path.realpath(u"lib")) import mudpy # start it up @@ -18,14 +19,14 @@ mudpy.misc.setup() # there are still connected users 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) - mudpy.misc.reload_data() - mudpy.misc.universe.reload_flag = False + # the world was flagged for a reload of all code/data + if mudpy.misc.universe.reload_flag: + reload(mudpy) + mudpy.misc.reload_data() + mudpy.misc.universe.reload_flag = False - # do what needs to be done on each pulse - mudpy.misc.on_pulse() + # do what needs to be done on each pulse + mudpy.misc.on_pulse() # shut it all down mudpy.misc.finish()