diff options
author | bwarsaw <> | 2003-09-22 02:40:51 +0000 |
---|---|---|
committer | bwarsaw <> | 2003-09-22 02:40:51 +0000 |
commit | 2ab3bb7f7d16318f11775e14a421bd30049805f4 (patch) | |
tree | 142e0965b911b9142d81fee3c98b9c6b3f213bda /Mailman/Archiver/Archiver.py | |
parent | b957dbc4b1100321697f94a78b4efd72a0f72f8c (diff) | |
download | mailman2-2ab3bb7f7d16318f11775e14a421bd30049805f4.tar.gz mailman2-2ab3bb7f7d16318f11775e14a421bd30049805f4.tar.xz mailman2-2ab3bb7f7d16318f11775e14a421bd30049805f4.zip |
Backporting from the HEAD -- updated archiver
Diffstat (limited to '')
-rw-r--r-- | Mailman/Archiver/Archiver.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mailman/Archiver/Archiver.py b/Mailman/Archiver/Archiver.py index 903031cd..8c41f0f8 100644 --- a/Mailman/Archiver/Archiver.py +++ b/Mailman/Archiver/Archiver.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -166,7 +166,9 @@ class Archiver: raise def ExternalArchive(self, ar, txt): - d = SafeDict({'listname': self.internal_name()}) + d = SafeDict({'listname': self.internal_name(), + 'hostname': self.host_name, + }) cmd = ar % d extarch = os.popen(cmd, 'w') extarch.write(txt) |