Skip to content

Commit

Permalink
taming lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
deniszh committed Apr 11, 2021
1 parent c91f77d commit 1b202f2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions webapp/graphite/render/grammar_unsafe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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

0 comments on commit 1b202f2

Please sign in to comment.