File py3-for-tests.patch of Package python-sphinxcontrib-plantuml

Index: plantuml-0.18/tests/fakecmd.py
===================================================================
--- plantuml-0.18.orig/tests/fakecmd.py
+++ plantuml-0.18/tests/fakecmd.py
@@ -1,7 +1,7 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import sys
 
 # embed as PostScript comment
-print '%', ' '.join(sys.argv)
+print('%', ' '.join(sys.argv))
 for line in sys.stdin:
     sys.stdout.write('% ' + line)
openSUSE Build Service is sponsored by