Skip to content

Commit bf2ba77

Browse files
ssbrcopybara-github
authored andcommitted
Internal change.
PiperOrigin-RevId: 396087969
1 parent 1c23592 commit bf2ba77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

refex/rxerr_debug.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def main(argv):
5656
except KeyError:
5757
pass
5858
else:
59-
print(
60-
pygments.highlight(tb, lexers.PythonTracebackLexer(),
61-
formatters.Terminal256Formatter()))
59+
lexer = lexers.PythonTracebackLexer() # pytype: disable=module-attr
60+
formatter = formatters.Terminal256Formatter() # pytype: disable=module-attr
61+
print(pygments.highlight(tb, lexer, formatter))
6262

6363

6464
if __name__ == '__main__':

0 commit comments

Comments
 (0)