Refreshing python-shebang.patch.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
65879aed05
commit
17ac7b9955
1 changed files with 9 additions and 9 deletions
18
debian/patches/debian/0003-python-shebang.patch
vendored
18
debian/patches/debian/0003-python-shebang.patch
vendored
|
@ -1,27 +1,27 @@
|
|||
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
|
||||
diff -Naurp terminaltables3.orig/example1.py terminaltables3/example1.py
|
||||
--- terminaltables3.orig/example1.py
|
||||
+++ terminaltables3/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
|
||||
diff -Naurp terminaltables3.orig/example2.py terminaltables3/example2.py
|
||||
--- terminaltables3.orig/example2.py
|
||||
+++ terminaltables3/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
|
||||
diff -Naurp terminaltables3.orig/example3.py terminaltables3/example3.py
|
||||
--- terminaltables3.orig/example3.py
|
||||
+++ terminaltables3/example3.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/python3
|
||||
|
|
Loading…
Add table
Reference in a new issue