PR#2253: koji-gc: set smtp_host to localhost by default
Merges #2253 https://pagure.io/koji/pull-request/2253 Fixes: #2252 https://pagure.io/koji/issue/2252 koji-gc: sending mail will fail if no smtp_host specified
This commit is contained in:
commit
c4f30abd58
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ def get_options():
|
|||
help=_("show debug output"))
|
||||
parser.add_option("--debug-xmlrpc", action="store_true", default=False,
|
||||
help=_("show xmlrpc debug output"))
|
||||
parser.add_option("--smtp-host", metavar="HOST",
|
||||
parser.add_option("--smtp-host", metavar="HOST", default='localhost',
|
||||
help=_("specify smtp server for notifications"))
|
||||
parser.add_option("--smtp-user", dest="smtp_user", metavar="USER",
|
||||
help=_("specify smtp username for notifications"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue