summaryrefslogtreecommitdiffstats
path: root/debian/patches/0003-Use-python3-shebang-on-examples.patch
blob: 8805031dbca5311bde82904ed5fc387b93f49f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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.