PEP 8 conformance for daemon executable script
authorJeremy Stanley <fungi@yuggoth.org>
Mon, 6 Dec 2010 12:11:37 +0000 (12:11 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Mon, 6 Dec 2010 12:11:37 +0000 (12:11 +0000)
* bin/mudpy: Conform to the PEP 8 style guide.

bin/mudpy

index a9aebc7..a0d764e 100755 (executable)
--- 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
 # 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
 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:
 
 # 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()
 
 # shut it all down
 mudpy.misc.finish()