diff options
| author | bwarsaw | 2001-03-02 00:56:51 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-03-02 00:56:51 +0000 |
| commit | cbd1b5d3e5833051b9c8d166f89bfdda76bf8bd3 (patch) | |
| tree | 1553b53ae3f11a2c27dd298262f790a3705654f8 /Mailman/HTMLFormatter.py | |
| parent | 36012989e9c1bda2cb0b2a1ef0f23bb5ab1d4027 (diff) | |
| download | mailman-cbd1b5d3e5833051b9c8d166f89bfdda76bf8bd3.tar.gz mailman-cbd1b5d3e5833051b9c8d166f89bfdda76bf8bd3.tar.zst mailman-cbd1b5d3e5833051b9c8d166f89bfdda76bf8bd3.zip | |
__onefile(): The qrunner framework now sets up the language context
for each processed message. It does this by getting the preferred
language of the sender of the message (defaulting to the list's
preferred language if the sender isn't a member of the list).
Next, it saves the previous global language context in a local
variable, sets the context to the message's preferred language and
disposes of the message. Then it restores the original language
context.
It also sets the message's metadata (key: `lang') to contain the
language name for the language context in case any handler modules
need access to it.
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions
