From 8dbb3f532c5bf07bb982c8285906a427d5d2b830 Mon Sep 17 00:00:00 2001 From: Matei David Date: Fri, 8 May 2015 12:48:12 -0400 Subject: [PATCH] smailq: Fix printerr invocations --- smailq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smailq b/smailq index 73c954f..f0ad909 100755 --- a/smailq +++ b/smailq @@ -434,7 +434,7 @@ if __name__ == "__main__": assert(False) except getopt.GetoptError as e: - printerr("Error parsing arguments:", e) + printerr("Error parsing arguments: " + str(e)) usage() sys.exit(os.EX_USAGE) @@ -458,7 +458,7 @@ if __name__ == "__main__": os.mkdir(conf.getlogdir()) except Exception as e: - printerr("Error reading config file:", e) + printerr("Error reading config file: " + str(e)) sys.exit(os.EX_IOERR) try: -- 2.39.5