From 417d374edc32e0c623cf802dff3bace604a78a77 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 12 Oct 2013 11:46:11 +0200 Subject: do not obmit, white out the shebang line --- src/gpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpp.py b/src/gpp.py index f40dbb8..f5be2df 100755 --- a/src/gpp.py +++ b/src/gpp.py @@ -56,7 +56,7 @@ with open(input_file, 'rb') as file: if unshebang: if data[0][:2] == '#!': - data[:] = data[1:] + data[0] = '' def pp(line): rc = '' -- cgit v1.2.3-70-g09d2