File: rename-python3.patch

package info (click to toggle)
newt 0.52.25-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,196 kB
  • sloc: ansic: 9,336; python: 713; makefile: 276; sh: 37; xml: 7
file content (26 lines) | stat: -rw-r--r-- 794 bytes parent folder | download | duplicates (2)
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
Description: Rename example files for python3
Author: Alastair McKinstry <mckinstry@debian.org>
Bug-Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983468
Last-Updated: 2024-11-03
Forwarded: not-needed

Index: newt-0.52.24/peanuts.py
===================================================================
--- newt-0.52.24.orig/peanuts.py
+++ newt-0.52.24/peanuts.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 # Demo program to show use of python-newt module
 
Index: newt-0.52.24/popcorn.py
===================================================================
--- newt-0.52.24.orig/popcorn.py
+++ newt-0.52.24/popcorn.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from __future__ import absolute_import, print_function, unicode_literals
 from snack import *