diff options
| author | Barry Warsaw | 2015-01-04 20:40:47 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2015-01-04 20:40:47 -0500 |
| commit | 81be16cdfd9ecf86092c90874eb661be2e754043 (patch) | |
| tree | b7493a05db05a93f875e3a27754d852b702cfb50 /src/mailman/rest/lists.py | |
| parent | 3ed695772e7e9c17234097e820a4cedfb0ad3a5d (diff) | |
| download | mailman-81be16cdfd9ecf86092c90874eb661be2e754043.tar.gz mailman-81be16cdfd9ecf86092c90874eb661be2e754043.tar.zst mailman-81be16cdfd9ecf86092c90874eb661be2e754043.zip | |
We don't need the 'six' package any more.
Diffstat (limited to 'src/mailman/rest/lists.py')
| -rw-r--r-- | src/mailman/rest/lists.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mailman/rest/lists.py b/src/mailman/rest/lists.py index c6233796b..f6bc27917 100644 --- a/src/mailman/rest/lists.py +++ b/src/mailman/rest/lists.py @@ -27,8 +27,6 @@ __all__ = [ ] -import six - from lazr.config import as_boolean from mailman.app.lifecycle import create_list, remove_list from mailman.config import config @@ -202,8 +200,8 @@ class AllLists(_ListBase): def on_post(self, request, response): """Create a new mailing list.""" try: - validator = Validator(fqdn_listname=six.text_type, - style_name=six.text_type, + validator = Validator(fqdn_listname=str, + style_name=str, _optional=('style_name',)) mlist = create_list(**validator(request)) except ListAlreadyExistsError: |
