From 54fe7cbab7914158ff6b636c240a9cf01a4b64a9 Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Tue, 12 Nov 2019 09:03:54 -0800 Subject: [PATCH] Charming. --- thun/dump-asm.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/thun/dump-asm.py b/thun/dump-asm.py index 8c0eda6..b1466a9 100644 --- a/thun/dump-asm.py +++ b/thun/dump-asm.py @@ -1,6 +1,5 @@ -s = '''''' -s = s.splitlines() -s = ' '.join(s) -s = s.replace('), ', '),\n') -with open('thun/asm-dump.txt', 'wb') as f: +s = ' '.join('''\ +'''.splitlines()).replace('), ', '),\n') + +with open('./asm-dump.txt', 'wb') as f: f.write(s) \ No newline at end of file