File: 01-default-to-py3k.patch

package info (click to toggle)
doclifter 2.21-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,888 kB
  • sloc: python: 10,117; xml: 2,384; sh: 274; makefile: 79; lisp: 37
file content (15 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: this code is Python 2 and change to Python 3
    Switch from Python2 to Python3 and drop Python2 in makefile.
Forwarded: not-needed
Origin: vendor, https://bugs.debian.org/936431
Bug-Debian: https://bugs.debian.org/936431
Author: Sandro Tosi <morph@debian.org>
Last-Update: 2024-02-16
--- a/manlifter
+++ b/manlifter
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 #
 # Note: this code is Python 3 ready, but trips over Debian bug 764848.
 # In Python 3.4.3, subprocess.getstatusoutput() returns an incorrect