From adda8adec0dc255b6433c2782967f27fde989f3b Mon Sep 17 00:00:00 2001 From: David Sowder Date: Tue, 21 Feb 2012 21:02:15 -0600 Subject: [PATCH] pep8 compliance: E251 no spaces around keyword / parameter equals --- editortools/chunk.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editortools/chunk.py b/editortools/chunk.py index 9c08377..25462f8 100644 --- a/editortools/chunk.py +++ b/editortools/chunk.py @@ -38,7 +38,7 @@ class ChunkToolPanel(Panel): extractButton.highlight_color = (255, 255, 255) deselectButton = Button("Deselect", - tooltipText = None, + tooltipText=None, action=tool.editor.deselect, ) @@ -216,7 +216,7 @@ class ChunkTool(EditorTool): self.editor.level.extractChunksInBox(self.selectionBox(), folder) @alertException - def destroyChunks(self, chunks = None): + def destroyChunks(self, chunks=None): if "No" == ask("Really delete these chunks? This cannot be undone.", ("Yes", "No")): return if chunks is None: @@ -412,7 +412,7 @@ def GeneratorPanel(): def clearCache(): MCServerChunkGenerator.clearWorldCache() - simRow = CheckBoxLabel("Simulate world", ref=AttrRef(panel, "simulate"), tooltipText = "Simulate the world for a few seconds after generating it. Reduces the save file size by processing all of the TileTicks.") + simRow = CheckBoxLabel("Simulate world", ref=AttrRef(panel, "simulate"), tooltipText="Simulate the world for a few seconds after generating it. Reduces the save file size by processing all of the TileTicks.") simRow = Row((simRow, advancedButton), anchor="lrh") #deleteCacheRow = Row((Label("Delete Temporary World File Cache?"), Button("Delete Cache!", action=clearCache, tooltipText="Click me if you think your chunks are stale.")))