30 lines
987 B
Diff
30 lines
987 B
Diff
Author: Carl Suster <carl@contraflo.ws>
|
|
Description: Use python3 shebang on examples.
|
|
|
|
diff -Naurp terminaltables.orig/example1.py terminaltables/example1.py
|
|
--- terminaltables.orig/example1.py
|
|
+++ terminaltables/example1.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
"""Simple example usage of terminaltables without any other dependencies.
|
|
|
|
Just prints sample text and exits.
|
|
diff -Naurp terminaltables.orig/example2.py terminaltables/example2.py
|
|
--- terminaltables.orig/example2.py
|
|
+++ terminaltables/example2.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
"""Example usage of terminaltables with colorclass.
|
|
|
|
Just prints sample text and exits.
|
|
diff -Naurp terminaltables.orig/example3.py terminaltables/example3.py
|
|
--- terminaltables.orig/example3.py
|
|
+++ terminaltables/example3.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
"""Simple example usage of terminaltables and column_max_width().
|
|
|
|
Just prints sample text and exits.
|