From: Matei David Date: Fri, 8 May 2015 16:48:12 +0000 (-0400) Subject: smailq: Fix printerr invocations X-Git-Tag: v1.2~5 X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=8dbb3f532c5bf07bb982c8285906a427d5d2b830;p=smailq.git smailq: Fix printerr invocations --- 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: