1
0
Fork 0

Refreshing python-shebang.patch.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 15:00:50 +01:00
parent 65879aed05
commit 17ac7b9955
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

View file

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