From 285959be23e4017b3e87027cf0a77aae4cf23713 Mon Sep 17 00:00:00 2001 From: "Rebecca C. Nelson" Date: Tue, 8 May 2018 08:13:51 -0500 Subject: [PATCH] Fixed regression where labels reset the indent --- scrappy/__init__.py | 2 +- scrappy/compile/renpy.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scrappy/__init__.py b/scrappy/__init__.py index 01401a8..36ffdec 100644 --- a/scrappy/__init__.py +++ b/scrappy/__init__.py @@ -9,7 +9,7 @@ from .compile.analyze import AnalysisCompiler -__version__ = '1.2.0' +__version__ = '1.2.1' class ArgumentError(ValueError): diff --git a/scrappy/compile/renpy.py b/scrappy/compile/renpy.py index dd9d9a5..6228546 100644 --- a/scrappy/compile/renpy.py +++ b/scrappy/compile/renpy.py @@ -410,7 +410,6 @@ def _compile_SECTION(self, section): params += ", " if len(params) > 0: params = '(' + params[:-2] + ')' - self._reset_indent() self.add_line('label ' + section['section'][1] + params + ":") self._inc_indent()