From c027ab9fbc1a8e8c9e76bcd123df1ad7696307c2 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 11 Mar 2014 17:39:22 +0100 Subject: test: Convert to Python 3 Change raw_input() to input() and unicode to str. This is *not* compatible with Python 2. Update the hashbangs to run with Python 3. --- test/monitor-ofono | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/monitor-ofono') diff --git a/test/monitor-ofono b/test/monitor-ofono index bd316171..8830757e 100755 --- a/test/monitor-ofono +++ b/test/monitor-ofono @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 from gi.repository import GLib @@ -6,7 +6,7 @@ import dbus import dbus.mainloop.glib _dbus2py = { - dbus.String : unicode, + dbus.String : str, dbus.UInt32 : int, dbus.Int32 : int, dbus.Int16 : int, -- cgit v1.2.3