update-test-output.py: Update syntax

* tests/update-test-output.py: Update syntax for python3.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2020-11-01 14:28:39 +01:00
parent b7ad7f2b2d
commit b4ec62929c

View File

@ -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: