projects
/
smailq.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to v1.2
[smailq.git]
/
smailq
diff --git
a/smailq
b/smailq
index 73c954fcbb8bc757d3dae7b02ac9c4bd33ac8bbf..1ab3afc95bba77ccf8a79e4e6d4b0c68c1a1f3ec 100755
(executable)
--- a/
smailq
+++ b/
smailq
@@
-5,7
+5,7
@@
__author__ = "Stefan Huber"
__copyright__ = "Copyright 2013"
__license__ = "LGPL-3"
__copyright__ = "Copyright 2013"
__license__ = "LGPL-3"
-__version__ = "1.
0
"
+__version__ = "1.
2
"
from contextlib import contextmanager
from contextlib import contextmanager
@@
-390,7
+390,7
@@
COMMANDS:
OPTIONS:
-C, --config=FILE
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.
-q, --quiet
Do not print info messages.
@@
-434,7
+434,7
@@
if __name__ == "__main__":
assert(False)
except getopt.GetoptError as e:
assert(False)
except getopt.GetoptError as e:
- printerr("Error parsing arguments:
", e
)
+ printerr("Error parsing arguments:
" + str(e)
)
usage()
sys.exit(os.EX_USAGE)
usage()
sys.exit(os.EX_USAGE)
@@
-458,7
+458,7
@@
if __name__ == "__main__":
os.mkdir(conf.getlogdir())
except Exception as e:
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:
sys.exit(os.EX_IOERR)
try: