aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-12 11:46:11 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-12 11:46:11 +0200
commit417d374edc32e0c623cf802dff3bace604a78a77 (patch)
tree07cf7785622a283fee783c5923416381ffd5a18a /src
parentadd legal files (diff)
downloadgpp-417d374edc32e0c623cf802dff3bace604a78a77.tar.gz
gpp-417d374edc32e0c623cf802dff3bace604a78a77.tar.bz2
gpp-417d374edc32e0c623cf802dff3bace604a78a77.tar.xz
do not obmit, white out the shebang line
Diffstat (limited to '')
-rwxr-xr-xsrc/gpp.py2
1 files changed, 1 insertions, 1 deletions
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 = ''