File: use-python3.patch

package info (click to toggle)
autojump 20-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 336 kB
  • sloc: python: 482; sh: 363; xml: 81; makefile: 10
file content (18 lines) | stat: -rw-r--r-- 705 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Tanguy Ortolo <tanguy+debian@ortolo.eu>
Description: Run autojump with Python 3.
    autojump is written to work with Python 2 as well as Python 3 with no
    modification. Because Python 2 cannot decode Python 3's serialized code
    (pickle), but Python 3 can read Python 2's one, it is better to always
    use Python 3.
Last-Update: 2011-07-23

Index: autojump/autojump
===================================================================
--- autojump.orig/autojump	2012-04-14 11:45:32.000000000 +0200
+++ autojump/autojump	2012-04-14 12:59:41.012349367 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Copyright Joel Schaerer 2008-2012
 This file is part of autojump