[vlc-commits] Fix gtk example against py3k

xantares 09 git at videolan.org
Sat Mar 7 18:47:11 CET 2015


vlc/python | branch: master | xantares 09 <xantares09 at hotmail.com> | Sat Mar  7 18:46:30 2015 +0100| [c166b71bf13d976818eead717850b0947692f2ca] | committer: Olivier Aubert

Fix gtk example against py3k

Signed-off-by: Olivier Aubert <contact at olivieraubert.net>

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=c166b71bf13d976818eead717850b0947692f2ca
---

 examples/gtkvlc.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/gtkvlc.py b/examples/gtkvlc.py
index 4d235e8..ee497a6 100755
--- a/examples/gtkvlc.py
+++ b/examples/gtkvlc.py
@@ -158,7 +158,7 @@ class MultiVideoPlayer:
 
 if __name__ == '__main__':
     if not sys.argv[1:]:
-       print "You must provide at least 1 movie filename"
+       print('You must provide at least 1 movie filename')
        sys.exit(1)
     if len(sys.argv[1:]) == 1:
         # Only 1 file. Simple interface



More information about the vlc-commits mailing list