diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2018-06-22 09:39:18 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2018-06-22 09:39:18 +0900 |
commit | fe5ed76b93d5d8e727a2f04e831794ab6db659c8 (patch) | |
tree | 1575c9cd8fbd0afc9f0a123b5240b0eb1567a0e5 /Mailman | |
parent | 981cf5eaa82259488eec0922bf2aeb07ea3bedaf (diff) | |
download | mailman2-fe5ed76b93d5d8e727a2f04e831794ab6db659c8.tar.gz mailman2-fe5ed76b93d5d8e727a2f04e831794ab6db659c8.tar.xz mailman2-fe5ed76b93d5d8e727a2f04e831794ab6db659c8.zip |
revert Mailman/Gui/GUIBase.py to drop change of this branch
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/Gui/GUIBase.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Mailman/Gui/GUIBase.py b/Mailman/Gui/GUIBase.py index 67e79036..95d7d177 100644 --- a/Mailman/Gui/GUIBase.py +++ b/Mailman/Gui/GUIBase.py @@ -138,14 +138,6 @@ class GUIBase: def _setValue(self, mlist, property, val, doc): # Set the value, or override to take special action on the property if not property.startswith('_') and getattr(mlist, property) <> val: - if property == 'preferred_language': - ocs = Utils.GetCharSet(getattr(mlist, property)) or 'us-ascii' - ncs = Utils.GetCharSet(val) or 'us-ascii' - odesc = getattr(mlist, 'description') - if ocs != ncs and not isinstance(odesc, unicode): - setattr(mlist, 'description', - Utils.xml_to_unicode(odesc, ocs).encode( - ncs, 'xmlcharrefreplace')) setattr(mlist, property, val) def _postValidate(self, mlist, doc): |