honor smtp_host option in koji-gc (jflorian)
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1367945 Merges: #136
This commit is contained in:
parent
41ceb5085f
commit
e3043f2583
1 changed files with 1 additions and 2 deletions
|
|
@ -433,9 +433,8 @@ refer to the document linked above for instructions."""
|
|||
if options.debug:
|
||||
print "Sending warning notice to %s" % msg['To']
|
||||
s = smtplib.SMTP(options.smtp_host)
|
||||
s.connect()
|
||||
s.sendmail(msg['From'], msg['To'], msg.as_string())
|
||||
s.close()
|
||||
s.quit()
|
||||
|
||||
|
||||
def main(args):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue