__copyright__ = "Copyright 2013"
__license__ = "LGPL-3"
-__version__ = "1.0"
+__version__ = "1.2"
from contextlib import contextmanager
OPTIONS:
-C, --config=FILE
- Use the given configuration file instead of "$HOME/.smailq.conf".
+ Use the given configuration file.
-q, --quiet
Do not print info messages.
assert(False)
except getopt.GetoptError as e:
- printerr("Error parsing arguments:", e)
+ printerr("Error parsing arguments: " + str(e))
usage()
sys.exit(os.EX_USAGE)
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: