From a9809e332bbc86a6416d0c638d43f74902a1c9b9 Mon Sep 17 00:00:00 2001 From: rocky Date: Wed, 1 Jun 2016 08:19:33 -0400 Subject: [PATCH] asm should format tokens --- uncompyle6/show.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uncompyle6/show.py b/uncompyle6/show.py index ebd3b3e9..c2856982 100644 --- a/uncompyle6/show.py +++ b/uncompyle6/show.py @@ -14,7 +14,7 @@ def maybe_show_asm(showasm, tokens): if showasm: stream = showasm if hasattr(showasm, 'write') else sys.stdout for t in tokens: - stream.write(t) + stream.write(t.format()) stream.write('\n') @@ -55,4 +55,4 @@ def maybe_show_ast_param_default(showast, name, default): stream.write(default) stream.write('\n') stream.write('--') - stream.write('\n') \ No newline at end of file + stream.write('\n')