Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
LabComm
Commits
26f8bc1d
Commit
26f8bc1d
authored
Nov 09, 2018
by
Anders Blomdell
Browse files
Make python2 explicit in shabang
parent
dc972f1b
Changes
13
Hide whitespace changes
Inline
Side-by-side
compiler/2006/Python_CodeGen.jrag
View file @
26f8bc1d
...
...
@@ -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/python
2
");
env.println("# Auto generated " + baseName);
env.println();
env.println("import labcomm2006");
...
...
examples/duck_typing/duck_typing.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
import
labcomm2006
import
animal
...
...
examples/simple/example_encoder.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
import
labcomm
import
sys
...
...
examples/tcp/example_tcp_client_decoder.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
import
os
import
sys
...
...
examples/user_types/example_encoder.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
import
labcomm
import
sys
...
...
examples/wiki_example/example_decoder.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
import
labcomm
import
sys
...
...
lib/c/version_compare.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
import
os
import
sys
...
...
lib/python/labcomm2006/LabComm.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
#
# LabComm2006 packets has the following layout
#
...
...
test/relay_gen_c.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
import
re
import
sys
...
...
test/relay_gen_cs.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
import
re
import
sys
...
...
test/relay_gen_java.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
import
re
import
sys
...
...
test/test_encoder_decoder.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
# -*- coding: utf-8 -*-
import
argparse
...
...
test/test_errors.py
View file @
26f8bc1d
#!/usr/bin/python
#!/usr/bin/python
2
import
sys
import
argparse
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment