diff options
| author | Barry Warsaw | 2016-11-25 11:54:10 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2016-11-25 11:54:10 -0500 |
| commit | 17ec368191f4e2c80fbead954511bb5a251dfe45 (patch) | |
| tree | aa802d1960ac3a096e192e572cd238411dc57ec9 /src/mailman/rest/post_moderation.py | |
| parent | 1f4919ab99bc6ca15553e2e4f569313b91b4a752 (diff) | |
| download | mailman-17ec368191f4e2c80fbead954511bb5a251dfe45.tar.gz mailman-17ec368191f4e2c80fbead954511bb5a251dfe45.tar.zst mailman-17ec368191f4e2c80fbead954511bb5a251dfe45.zip | |
Diffstat (limited to 'src/mailman/rest/post_moderation.py')
| -rw-r--r-- | src/mailman/rest/post_moderation.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/rest/post_moderation.py b/src/mailman/rest/post_moderation.py index ee31e8694..33a32de20 100644 --- a/src/mailman/rest/post_moderation.py +++ b/src/mailman/rest/post_moderation.py @@ -76,8 +76,9 @@ class _HeldMessageBase(_ModerationBase): except KeyError: # If the message can't be parsed, return a generic message instead # of raising an error. - # See http://bugs.python.org/issue27321 and #256 - resource['msg'] = 'this message is defective' + # + # See http://bugs.python.org/issue27321 and GL#256 + resource['msg'] = 'This message is defective' # Some of the _mod_* keys we want to rename and place into the JSON # resource. Others we can drop. Since we're mutating the dictionary, # we need to make a copy of the keys. When you port this to Python 3, |
