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