Debian Codegraph @

debian/patches/0001-Use-Python-3.patch

raw symbols SCIP
1 From: YOKOTA Hiroshi <[email protected]>
2 Date: Fri, 4 Mar 2022 02:27:04 +0900
3 Subject: Use Python 3
4
5 Forwarded: not-needed
6 ---
7 examples/forms/echo.cgi | 2 +-
8 examples/forms/example.py | 2 +-
9 examples/forms/simple.py | 2 +-
10 examples/hack21.py | 2 +-
11 examples/pypi.py | 2 +-
12 5 files changed, 5 insertions(+), 5 deletions(-)
13
14 diff --git a/examples/forms/echo.cgi b/examples/forms/echo.cgi
15 index d132129..7e95e2e 100755
16 --- a/examples/forms/echo.cgi
17 +++ b/examples/forms/echo.cgi
18 @@ -1,4 +1,4 @@
19 -#!/usr/bin/python
20 +#!/usr/bin/python3
21 # -*-python-*-
22
23 print "Content-Type: text/html\n"
24 diff --git a/examples/forms/example.py b/examples/forms/example.py
25 index 1d0c490..be88c36 100755
26 --- a/examples/forms/example.py
27 +++ b/examples/forms/example.py
28 @@ -1,4 +1,4 @@
29 -#!/usr/bin/env python
30 +#!/usr/bin/env python3
31
32 from __future__ import print_function
33 import sys
34 diff --git a/examples/forms/simple.py b/examples/forms/simple.py
35 index 771b7ba..1a8ce38 100755
36 --- a/examples/forms/simple.py
37 +++ b/examples/forms/simple.py
38 @@ -1,4 +1,4 @@
39 -#!/usr/bin/env python
40 +#!/usr/bin/env python3
41
42 from __future__ import print_function
43 import sys
44 diff --git a/examples/hack21.py b/examples/hack21.py
45 index 161ca17..d117145 100644
46 --- a/examples/hack21.py
47 +++ b/examples/hack21.py
48 @@ -1,4 +1,4 @@
49 -#!/usr/bin/env python
50 +#!/usr/bin/env python3
51
52 # Port of Hack 21 from the O'Reilly book "Spidering Hacks" by Tara
53 # Calishain and Kevin Hemenway. Of course, there's no need to explicitly
54 diff --git a/examples/pypi.py b/examples/pypi.py
55 index b17352a..ea5adb5 100644
56 --- a/examples/pypi.py
57 +++ b/examples/pypi.py
58 @@ -1,4 +1,4 @@
59 -#!/usr/bin/env python
60 +#!/usr/bin/env python3
61
62 # Search PyPI, the Python Package Index, and retrieve latest mechanize tarball.
63