Mercurial > p > roundup > code
comparison roundup/configuration.py @ 2844:5dddfc64816d
mailgw backward-compatibility: "MAILHOST" alias for "MAIL_HOST"
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sat, 30 Oct 2004 11:26:37 +0000 |
| parents | f965de0c1e75 |
| children | 6d219e7a8789 |
comparison
equal
deleted
inserted
replaced
| 2843:46ad912ddd2b | 2844:5dddfc64816d |
|---|---|
| 1 # Roundup Issue Tracker configuration support | 1 # Roundup Issue Tracker configuration support |
| 2 # | 2 # |
| 3 # $Id: configuration.py,v 1.18 2004-10-29 20:34:36 a1s Exp $ | 3 # $Id: configuration.py,v 1.19 2004-10-30 11:26:37 a1s Exp $ |
| 4 # | 4 # |
| 5 __docformat__ = "restructuredtext" | 5 __docformat__ = "restructuredtext" |
| 6 | 6 |
| 7 import getopt | 7 import getopt |
| 8 import imp | 8 import imp |
| 491 "Allowed values: DEBUG, INFO, WARNING, ERROR"), | 491 "Allowed values: DEBUG, INFO, WARNING, ERROR"), |
| 492 )), | 492 )), |
| 493 ("mail", ( | 493 ("mail", ( |
| 494 (Option, "domain", NODEFAULT, "Domain name used for email addresses."), | 494 (Option, "domain", NODEFAULT, "Domain name used for email addresses."), |
| 495 (Option, "host", NODEFAULT, | 495 (Option, "host", NODEFAULT, |
| 496 "SMTP mail host that roundup will use to send mail"), | 496 "SMTP mail host that roundup will use to send mail", |
| 497 ["MAILHOST"],), | |
| 497 (Option, "username", "", "SMTP login name.\n" | 498 (Option, "username", "", "SMTP login name.\n" |
| 498 "Set this if your mail host requires authenticated access.\n" | 499 "Set this if your mail host requires authenticated access.\n" |
| 499 "If username is not empty, password (below) MUST be set!"), | 500 "If username is not empty, password (below) MUST be set!"), |
| 500 (Option, "password", NODEFAULT, "SMTP login password.\n" | 501 (Option, "password", NODEFAULT, "SMTP login password.\n" |
| 501 "Set this if your mail host requires authenticated access."), | 502 "Set this if your mail host requires authenticated access."), |
