From 1b202f2a4a2fa0e80b01327f331b1d1e004c4b67 Mon Sep 17 00:00:00 2001 From: Denys Zhdanov Date: Sun, 11 Apr 2021 19:36:11 +0200 Subject: [PATCH] taming lint check --- webapp/graphite/render/grammar_unsafe.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/webapp/graphite/render/grammar_unsafe.py b/webapp/graphite/render/grammar_unsafe.py index 2bd77d132..f25b5eff8 100644 --- a/webapp/graphite/render/grammar_unsafe.py +++ b/webapp/graphite/render/grammar_unsafe.py @@ -80,7 +80,7 @@ def setRaw(s, loc, toks): - toks[0].raw = s[toks[0].start:toks[0].end] + toks[0].raw = s[toks[0].start:toks[0].end] call = Group( @@ -149,9 +149,9 @@ def setRaw(s, loc, toks): def enableDebug(): - for name, obj in globals().items(): - try: - obj.setName(name) - obj.setDebug(True) - except Exception: - pass + for name, obj in globals().items(): + try: + obj.setName(name) + obj.setDebug(True) + except Exception: + pass