From 448609b5ae501d997bd10d8fc2638a56e0080e7a Mon Sep 17 00:00:00 2001 From: Masaru Tsuchiyama Date: Thu, 27 Dec 2018 06:17:36 +0900 Subject: [PATCH] =?UTF-8?q?[ci=20skip]=20=E5=86=97=E9=95=B7=E3=81=AA?= =?UTF-8?q?=E7=A9=BA=E8=A1=8C=E3=82=92=E5=89=8A=E9=99=A4=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=B9=E3=82=AF=E3=83=AA=E3=83=97=E3=83=88=E3=81=AE=E3=83=90?= =?UTF-8?q?=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- remove-redundant-blank-lines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remove-redundant-blank-lines.py b/remove-redundant-blank-lines.py index bbb24200b1..910087a4a4 100644 --- a/remove-redundant-blank-lines.py +++ b/remove-redundant-blank-lines.py @@ -71,7 +71,7 @@ def removeRedundantBlack(fileName): # prevLines[-1] leftBracket { # 現在の行 blankLine <空行> if prevLines[-1]['type'] == leftBracket: - if type == blankLine: + if lineType == blankLine: continue # 現在の行も前の行も空行の場合、現在の行を捨てる