[libdmapsharing] Port test-dmap-client-python to Python 3



commit ff8539942410f427168227c86a651cbed7d3db99
Author: W. Michael Petullo <mike flyn org>
Date:   Sat Nov 11 08:23:38 2017 -0500

    Port test-dmap-client-python to Python 3
    
    Signed-off-by: W. Michael Petullo <mike flyn org>

 tests/test-dmap-client-python |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test-dmap-client-python b/tests/test-dmap-client-python
index 3a2c758..3846ed3 100755
--- a/tests/test-dmap-client-python
+++ b/tests/test-dmap-client-python
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from gi.repository import GObject
 from gi.repository import GLib
@@ -69,7 +69,7 @@ class TestDMAPClient(GObject.GObject):
         has_video = record.get_property("has-video")
         artist = record.get_property("songartist")
 
-        print id, artist, title, has_video
+        print(id, artist, title, has_video)
 
     def connected_cb(self, connection, result, reason, user_data):
         self.db.foreach(self.print_record, None)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]