aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-10-22 08:42:21 +0200
committerPapoteur <papoteur@mageialinux-online.org>2015-10-22 08:42:21 +0200
commit77c784aa8e82dbc842bf3032b607f2085c08af41 (patch)
treecd3930289e2dcd9dd00396957744314fc2d0cf89
parenta459fb84d82804bf46c47cb99606c2f608087881 (diff)
downloadisodumper-77c784aa8e82dbc842bf3032b607f2085c08af41.tar
isodumper-77c784aa8e82dbc842bf3032b607f2085c08af41.tar.gz
isodumper-77c784aa8e82dbc842bf3032b607f2085c08af41.tar.bz2
isodumper-77c784aa8e82dbc842bf3032b607f2085c08af41.tar.xz
isodumper-77c784aa8e82dbc842bf3032b607f2085c08af41.zip
First adaptation to Python3
-rw-r--r--lib/isodumper.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 5f2faeb..e316031 100644
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -1,6 +1,6 @@
#coding:utf-8
-#!/usr/bin/python
+#!/usr/bin/python3
#
# Copyright (c) 2007-2009 Canonical Ltd.
#
@@ -29,9 +29,8 @@
import sys
import imp
-sys.path.insert(0,'../../../build/swig/python')
+sys.path.insert(0,'../../../build/swig/python3')
imp.reload(sys)
-sys.setdefaultencoding("utf-8")
###########
# imports #
###########