From 5912bf268412727bc68846d3dd92468fe2fc6715 Mon Sep 17 00:00:00 2001 From: Chris Pressey Date: Mon, 21 Oct 2019 13:34:53 +0100 Subject: [PATCH] Fix dcc6502-adapter for latest version of tcarmelveilleux/dcc6502. --- tests/appliances/bin/dcc6502-adapter | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/appliances/bin/dcc6502-adapter b/tests/appliances/bin/dcc6502-adapter index 28c20b6..85b6f17 100755 --- a/tests/appliances/bin/dcc6502-adapter +++ b/tests/appliances/bin/dcc6502-adapter @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # script that allows the binary output of sixtypical --output-format=c64-basic-prg --compile to be # disassembled by https://github.com/tcarmelveilleux/dcc6502 @@ -19,5 +19,4 @@ f.close() lines = [line for line in check_output("dcc6502 -o 2061 {}".format(filename), shell=True).split('\n') if line and not line.startswith(';')] lines = [re.sub(r'\s*\;.*$', '', line) for line in lines] -lines.pop() sys.stdout.write('\n'.join(lines))