Appease style checks
authorJeremy Stanley <fungi@yuggoth.org>
Thu, 24 Nov 2016 06:28:14 +0000 (06:28 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Thu, 24 Nov 2016 06:28:14 +0000 (06:28 +0000)
Once more the PEP8 gods stir to anger. Sate their fury with a
generous offering of whitespace, such that they might return to
their baleful slumber.

mudpy/__init__.py
mudpy/data.py
mudpy/misc.py

index 5fdefe8..2f1bed5 100644 (file)
@@ -27,6 +27,7 @@ def load():
         except NameError:
             exec("import mudpy.%s" % module)
 
+
 # load the modules contained in this package
 modules = ["data", "misc", "password", "telnet"]
 load()
index 00ab923..d7de13a 100644 (file)
@@ -97,7 +97,7 @@ class DataFile:
                     element = self.universe.contents[prefix]
                 except KeyError:
                     element = mudpy.misc.Element(prefix, self.universe,
-                        self.filename)
+                                                 self.filename)
                 element.set(node[facet_pos:], self.data[node])
                 if prefix.startswith("mudpy.movement."):
                     self.universe.directions.add(
index 6c720d5..3cb201c 100644 (file)
@@ -300,9 +300,10 @@ class Element:
         if re.match("""^area:-?\d+,-?\d+,-?\d+$""", self.key):
             coordinates = [(int(x))
                            for x in self.key.split(":")[1].split(",")]
-            offsets = dict((x,
-                self.universe.contents["mudpy.movement.%s" % x].get("vector")
-                ) for x in self.universe.directions)
+            offsets = dict(
+                (x,
+                 self.universe.contents["mudpy.movement.%s" % x].get("vector")
+                 ) for x in self.universe.directions)
             for portal in self.get("gridlinks"):
                 adjacent = map(lambda c, o: c + o,
                                coordinates, offsets[portal])