Skip to content

Commit

Permalink
Python 3: Fix shebangs
Browse files Browse the repository at this point in the history
 * convert to python3
 * only have shebangs + exec bits in files that have something to execute
  • Loading branch information
hroncok committed Feb 13, 2018
1 parent 7161b0d commit 06e3af4
Show file tree
Hide file tree
Showing 23 changed files with 13 additions and 32 deletions.
2 changes: 1 addition & 1 deletion calibrateextruder.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion gcodeplater.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down
2 changes: 1 addition & 1 deletion plater.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down
2 changes: 1 addition & 1 deletion printcore.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down
2 changes: 0 additions & 2 deletions printrun/eventhandler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion printrun/gcodeplater.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down
2 changes: 1 addition & 1 deletion printrun/gcoder.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# This file is copied from GCoder.
#
# GCoder is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion printrun/gcview.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down
2 changes: 0 additions & 2 deletions printrun/gl/panel.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
2 changes: 0 additions & 2 deletions printrun/gl/trackball.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
2 changes: 0 additions & 2 deletions printrun/gui/graph.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
2 changes: 0 additions & 2 deletions printrun/objectplater.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
1 change: 0 additions & 1 deletion printrun/plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
2 changes: 0 additions & 2 deletions printrun/plugins/sample.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
2 changes: 0 additions & 2 deletions printrun/printcore.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
2 changes: 0 additions & 2 deletions printrun/pronsole.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
2 changes: 0 additions & 2 deletions printrun/pronterface.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

# This file is part of the Printrun suite.
#
# Printrun is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion printrun/stlplater.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down
2 changes: 1 addition & 1 deletion printrun/stlview.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down
2 changes: 1 addition & 1 deletion pronsole.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down
2 changes: 1 addition & 1 deletion pronterface.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down
2 changes: 1 addition & 1 deletion testtools/gcodeviewer.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of the Printrun suite.
#
Expand Down

0 comments on commit 06e3af4

Please sign in to comment.