File: use-python3.patch

package info (click to toggle)
ruby-stackprof 0.2.27-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 556 kB
  • sloc: python: 2,494; ruby: 1,264; perl: 920; ansic: 781; javascript: 735; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Use python3 instead of python (which uses python 2)

--- a/vendor/gprof2dot/gprof2dot.py
+++ b/vendor/gprof2dot/gprof2dot.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright 2008-2009 Jose Fonseca
 #
--- a/vendor/gprof2dot/hotshotmain.py
+++ b/vendor/gprof2dot/hotshotmain.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright 2007 Jose Fonseca
 #