diff --git a/debug-viewer/gst-debug-viewer b/debug-viewer/gst-debug-viewer index 25bd85029f..648a49876d 100755 --- a/debug-viewer/gst-debug-viewer +++ b/debug-viewer/gst-debug-viewer @@ -52,7 +52,7 @@ def main (): try: import GstDebugViewer except ImportError as exc: - print >> sys.stderr, str (exc) + print(str (exc), file=sys.stderr) sys.exit (1) else: if installed: