[Mailman-Users] minor bug in ScriptURL?
Thomas M. Parris
parris at isciences.com
Fri Jun 18 19:04:06 CEST 2004
Dear mailmaners:
If I'm not mistaken, there is a minor bug in ScriptURL (un Utils.py) below.
def ScriptURL(target, web_page_url=None, absolute=False):
"""target - scriptname only, nothing extra
web_page_url - the list's configvar of the same name
absolute - a flag which if set, generates an absolute url
"""
if web_page_url is None:
web_page_url = mm_cfg.DEFAULT_URL_PATTERN % get_domain()
Shouldn't the last line be
web_page_url = mm_cfg.DEFAULT_URL_PATTERN % mm_cfg.DEFAULT_URL_HOST
-- Tom
More information about the Mailman-Users
mailing list