diff options
Diffstat (limited to 'Mailman/MailList.py')
| -rw-r--r-- | Mailman/MailList.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index 575c9cc84..7cac64865 100644 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -262,12 +262,10 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, acct, host = tuple(member.split('@')) return "%s%s@%s" % (acct, self.umbrella_member_suffix, host) - def GetScriptURL(self, scriptname, absolute=False): - return '%s/%s' % ( - Utils.ScriptURL(scriptname, self.web_page_url, absolute), - self.fqdn_listname) + def GetScriptURL(self, target): + return Utils.ScriptURL(target) + '/' + self.fqdn_listname - def GetOptionsURL(self, user, obscure=0, absolute=False): + def GetOptionsURL(self, user, obscure=False, absolute=False): url = self.GetScriptURL('options', absolute) if obscure: user = Utils.ObscureEmail(user) @@ -299,8 +297,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, name + '@' + self.host_name) else: - self._full_path = os.path.join(config.LIST_DATA_DIR, - name) + self._full_path = os.path.join(config.LIST_DATA_DIR, name) else: self._full_path = '' # Only one level of mixin inheritance allowed |
