projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12235df
)
Fixing a syntax error with one of the exception handlers
author
Ross Hays
<development@rosshays.net>
Wed, 6 May 2015 19:58:42 +0000
(15:58 -0400)
committer
Ross Hays
<development@rosshays.net>
Wed, 6 May 2015 19:58:42 +0000
(15:58 -0400)
scripts/mailtest
patch
|
blob
|
blame
|
history
diff --git
a/scripts/mailtest
b/scripts/mailtest
index 3c0548c2c9f5eca40361b279ebe2363a76bc8b65..5d663a4c3dbdbd2dc8585e0011b15f54fe51ef08 100755
(executable)
--- a/
scripts/mailtest
+++ b/
scripts/mailtest
@@
-172,7
+172,7
@@
except smtplib.SMTPException as e:
if 'SMTP AUTH extension not supported by server' in e.args[0]:
print(" Authorization is not available - you may need to use TLS", file=sys.stderr)
sys.exit(1)
-except ValueError:
+except ValueError
as e
:
print_error("ERROR: {}".format(e.args[-1]), file=sys.stderr)
sys.exit(1)