1
0
Fork 0
terminaltables3/debian/patches/0003-Use-python3-shebang-on-examples.patch
Daniel Baumann b2ea904319
Rediffing Use-python3-shebang-on-examples.patch.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-12 13:07:12 +01:00

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.