Mercurial > public > src > moin > 1.9
diff MoinMoin/config/multiconfig.py @ 3759:2b78179acbea
normalise mail_enabled to a boolean
author | Johannes Berg <johannes AT sipsolutions DOT net> |
---|---|
date | Sun, 22 Jun 2008 02:09:17 +0200 |
parents | 507867abcc19 |
children | f004cd750c86 |
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py Sun Jun 22 01:15:39 2008 +0200 +++ b/MoinMoin/config/multiconfig.py Sun Jun 22 02:09:17 2008 +0200 @@ -321,6 +321,7 @@ # check if mail is possible and set flag: self.mail_enabled = (self.mail_smarthost is not None or self.mail_sendmail is not None) and self.mail_from + self.mail_enabled = self.mail_enabled and True or False # check if jabber bot is available and set flag: self.jabber_enabled = self.notification_bot_uri is not None