diff options
author | Mark Sapiro <mark@msapiro.net> | 2017-06-05 22:47:05 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2017-06-05 22:47:05 -0700 |
commit | 4d3f440efd8b01cd16cb0d0644cac5fce3609b46 (patch) | |
tree | 080580c141e247d83ae7f54623b28d802c0d521f /Mailman | |
parent | 0d11dc90ee6fc9cc61d32ca3ea6819ca95ac1c12 (diff) | |
download | mailman2-4d3f440efd8b01cd16cb0d0644cac5fce3609b46.tar.gz mailman2-4d3f440efd8b01cd16cb0d0644cac5fce3609b46.tar.xz mailman2-4d3f440efd8b01cd16cb0d0644cac5fce3609b46.zip |
Bumped Copyrights and fixed a bug in prior commit.
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/Cgi/admin.py | 2 | ||||
-rw-r--r-- | Mailman/Cgi/admindb.py | 2 | ||||
-rw-r--r-- | Mailman/Cgi/confirm.py | 2 | ||||
-rw-r--r-- | Mailman/Cgi/create.py | 6 | ||||
-rw-r--r-- | Mailman/Cgi/edithtml.py | 2 | ||||
-rw-r--r-- | Mailman/Cgi/listinfo.py | 2 | ||||
-rw-r--r-- | Mailman/Cgi/options.py | 2 | ||||
-rwxr-xr-x | Mailman/Cgi/private.py | 2 | ||||
-rw-r--r-- | Mailman/Cgi/rmlist.py | 2 | ||||
-rwxr-xr-x | Mailman/Cgi/subscribe.py | 2 | ||||
-rw-r--r-- | Mailman/Gui/Privacy.py | 2 | ||||
-rw-r--r-- | Mailman/Gui/Topics.py | 2 |
12 files changed, 14 insertions, 14 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index f96b175a..63f77101 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2017 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 diff --git a/Mailman/Cgi/admindb.py b/Mailman/Cgi/admindb.py index 5f72d9c1..d2549379 100644 --- a/Mailman/Cgi/admindb.py +++ b/Mailman/Cgi/admindb.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2017 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 diff --git a/Mailman/Cgi/confirm.py b/Mailman/Cgi/confirm.py index 1cb640b8..100db00c 100644 --- a/Mailman/Cgi/confirm.py +++ b/Mailman/Cgi/confirm.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001-2016 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2017 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 diff --git a/Mailman/Cgi/create.py b/Mailman/Cgi/create.py index 9421731f..8f20385d 100644 --- a/Mailman/Cgi/create.py +++ b/Mailman/Cgi/create.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001-2016 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2017 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 @@ -104,7 +104,7 @@ def process_request(doc, cgidata): password = cgidata.getfirst('password', '').strip() confirm = cgidata.getfirst('confirm', '').strip() auth = cgidata.getfirst('auth', '').strip() - langs = cgidata.getfirst('langs', [mm_cfg.DEFAULT_SERVER_LANGUAGE]) + langs = cgidata.getvalue('langs', [mm_cfg.DEFAULT_SERVER_LANGUAGE]) if not isinstance(langs, ListType): langs = [langs] @@ -292,7 +292,7 @@ def process_request(doc, cgidata): # Because the cgi module blows class Dummy: - def getvalue(self, name, default): + def getfirst(self, name, default): return default dummy = Dummy() diff --git a/Mailman/Cgi/edithtml.py b/Mailman/Cgi/edithtml.py index f8ed6714..d3d04a31 100644 --- a/Mailman/Cgi/edithtml.py +++ b/Mailman/Cgi/edithtml.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2017 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 diff --git a/Mailman/Cgi/listinfo.py b/Mailman/Cgi/listinfo.py index 6b967b7c..b8704486 100644 --- a/Mailman/Cgi/listinfo.py +++ b/Mailman/Cgi/listinfo.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2017 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 diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py index d7411f69..b638195a 100644 --- a/Mailman/Cgi/options.py +++ b/Mailman/Cgi/options.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2017 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 diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py index ce3c6563..80369e84 100755 --- a/Mailman/Cgi/private.py +++ b/Mailman/Cgi/private.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2017 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 diff --git a/Mailman/Cgi/rmlist.py b/Mailman/Cgi/rmlist.py index 032b3ee5..f30c358e 100644 --- a/Mailman/Cgi/rmlist.py +++ b/Mailman/Cgi/rmlist.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001-2016 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2017 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 diff --git a/Mailman/Cgi/subscribe.py b/Mailman/Cgi/subscribe.py index aa69e488..232048d7 100755 --- a/Mailman/Cgi/subscribe.py +++ b/Mailman/Cgi/subscribe.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2017 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 diff --git a/Mailman/Gui/Privacy.py b/Mailman/Gui/Privacy.py index f6de8a32..b1e1eecf 100644 --- a/Mailman/Gui/Privacy.py +++ b/Mailman/Gui/Privacy.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001-2016 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2017 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 diff --git a/Mailman/Gui/Topics.py b/Mailman/Gui/Topics.py index 642059e5..c65d44c1 100644 --- a/Mailman/Gui/Topics.py +++ b/Mailman/Gui/Topics.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001-2015 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2017 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 |