From f48822d81634434814713d10bd88fbfa91359ea6 Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Sat, 13 Jun 2020 19:38:51 +0100 Subject: [PATCH] corrected printing of error messages in test.py.in --- pdf2htmlEX/test/test.py.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdf2htmlEX/test/test.py.in b/pdf2htmlEX/test/test.py.in index 16d619e..63f9983 100755 --- a/pdf2htmlEX/test/test.py.in +++ b/pdf2htmlEX/test/test.py.in @@ -13,8 +13,8 @@ class Common(object): """ PDF2HTMLEX_PATH = "@PDF2HTMLEX_PATH@" # defined in CMakeLists.txt if not os.path.isfile(PDF2HTMLEX_PATH) or not os.access(PDF2HTMLEX_PATH, os.X_OK): - print >> sys.stderr, "Cannot locate pdf2htmlEX executable, expected at ", PDF2HTMLEX_PATH, - ". Make sure source was built before running this test." + print( sys.stderr, "Cannot locate pdf2htmlEX executable, expected at ", PDF2HTMLEX_PATH, + ". Make sure source was built before running this test." ) exit(1) SRC_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))