1
0
Fork 0

Rediffing Use-python3-shebang-on-examples.patch.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 13:07:12 +01:00
parent 31193622ab
commit b2ea904319
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

View file

@ -1,38 +1,27 @@
From: Carl Suster <carl@contraflo.ws> Author: Carl Suster <carl@contraflo.ws>
Date: Fri, 1 Dec 2017 22:20:39 +1100 Description: Use python3 shebang on examples.
Subject: Use python3 shebang on examples
Forwarded: no diff -Naurp terminaltables.orig/example1.py terminaltables/example1.py
--- --- terminaltables.orig/example1.py
example1.py | 2 +- +++ terminaltables/example1.py
example2.py | 2 +-
example3.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/example1.py b/example1.py
index daf1fbf..d0e383f 100755
--- a/example1.py
+++ b/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 --git a/example2.py b/example2.py diff -Naurp terminaltables.orig/example2.py terminaltables/example2.py
index 51644f8..63b6c2d 100755 --- terminaltables.orig/example2.py
--- a/example2.py +++ terminaltables/example2.py
+++ b/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 --git a/example3.py b/example3.py diff -Naurp terminaltables.orig/example3.py terminaltables/example3.py
index bec5500..ef6e96a 100755 --- terminaltables.orig/example3.py
--- a/example3.py +++ terminaltables/example3.py
+++ b/example3.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3