update-test-output.py: Update syntax

Message ID 87mu0088oz.fsf@redhat.com
State New
Headers
Series update-test-output.py: Update syntax |

Commit Message

Dodji Seketeli Nov. 2, 2020, 8:27 a.m. UTC
  * tests/update-test-output.py: Update syntax for python3.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
---
 tests/update-test-output.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/tests/update-test-output.py b/tests/update-test-output.py
index 4017dd02..9f8dd032 100755
--- a/tests/update-test-output.py
+++ b/tests/update-test-output.py
@@ -31,7 +31,7 @@  def main():
     try:
         opts, args = getopt.getopt(sys.argv[1:], "hi", ["help"])
     except getopt.GetoptError as err:
-        print str(err)
+        print(str(err))
         display_usage()
 
     for opt, arg in opts: