summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkopertop <kopertop@604d75c7-a419-0410-a38f-bde1a0bd1dbf>2009-11-23 16:04:07 +0000
committerkopertop <kopertop@604d75c7-a419-0410-a38f-bde1a0bd1dbf>2009-11-23 16:04:07 +0000
commit5db03274485805745e426920afa3892c1e5987d0 (patch)
tree4b389448f6dcb96e3794f5b0aeadcc49e23a53bf
parent63c7667007340d9164e2dde156cd2b5aebff227f (diff)
downloadboto-5db03274485805745e426920afa3892c1e5987d0.tar.gz
Fixed notify method to use "getbool"
-rw-r--r--boto/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/boto/utils.py b/boto/utils.py
index 4483a820..db16d309 100644
--- a/boto/utils.py
+++ b/boto/utils.py
@@ -545,7 +545,7 @@ def notify(subject, body=None, html_body=None, to_string=None, attachments=[], a
server = smtplib.SMTP(smtp_host)
# TLS support
- if boto.config.get_value("Notification", "smtp_tls", "").lower() == "true":
+ if boto.config.getbool("Notification", "smtp_tls"):
server.ehlo()
server.starttls()
server.ehlo()