Commit 26f8bc1d authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Make python2 explicit in shabang

parent dc972f1b
......@@ -74,7 +74,7 @@ aspect Python_CodeGen {
public void Program.Python_gen(PrintStream out, String baseName) {
Python_env env = new Python_env(out);
env.println("#!/usr/bin/python");
env.println("#!/usr/bin/python2");
env.println("# Auto generated " + baseName);
env.println();
env.println("import labcomm2006");
......
#!/usr/bin/python
#!/usr/bin/python2
import labcomm2006
import animal
......
#!/usr/bin/python
#!/usr/bin/python2
import labcomm
import sys
......
#!/usr/bin/python
#!/usr/bin/python2
import os
import sys
......
#!/usr/bin/python
#!/usr/bin/python2
import labcomm
import sys
......
#!/usr/bin/python
#!/usr/bin/python2
import labcomm
import sys
......
#!/usr/bin/python
#!/usr/bin/python2
import os
import sys
......
#!/usr/bin/python
#!/usr/bin/python2
#
# LabComm2006 packets has the following layout
#
......
#!/usr/bin/python
#!/usr/bin/python2
import re
import sys
......
#!/usr/bin/python
#!/usr/bin/python2
import re
import sys
......
#!/usr/bin/python
#!/usr/bin/python2
import re
import sys
......
#!/usr/bin/python
#!/usr/bin/python2
# -*- coding: utf-8 -*-
import argparse
......
#!/usr/bin/python
#!/usr/bin/python2
import sys
import argparse
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment