Comment 0 for bug 266014

Revision history for this message
The-olo (the-olo) wrote :

In Utils.py, in the get_domain() function, a deprecated
configuration option is used: DEFAULT_HOST_NAME.

It has been superseded by DEFAULT_URL_HOST.

DEFAULT_HOST_NAME is now set to None by default.

I'm suggesting the following change in Urils.py, near
line 640:

- hostname = mm_cfg.DEFAULT_HOST_NAME or
mm_cfg.DEFAULT_EMAIL_HOST
+ hostname = mm_cfg.DEFAULT_URL_HOST or
mm_cfg.DEFAULT_EMAIL_HOST

I'm attaching a patch.

[http://sourceforge.net/tracker/index.php?func=detail&aid=875971&group_id=103&atid=100103]