~ubuntu-branches/debian/lenny/mailman/lenny

« back to all changes in this revision

Viewing changes to Mailman/Cgi/create.py

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2008-04-24 19:30:49 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20080424193049-jy5fa9tus40tjbmn
Tags: 1:2.1.10-2
Apply upstream patch to fix regression in cmd_subscribe
so that email subscribe to the -subscribe or -join address or the
-request address with a bare 'subscribe' command results in the message
being shunted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
 
1
# Copyright (C) 2001-2007 by the Free Software Foundation, Inc.
2
2
#
3
3
# This program is free software; you can redistribute it and/or
4
4
# modify it under the terms of the GNU General Public License
392
392
    # Create the table of initially supported languages, sorted on the long
393
393
    # name of the language.
394
394
    revmap = {}
395
 
    for key, (name, charset) in mm_cfg.LC_DESCRIPTIONS.items():
 
395
    for key, (name, charset, direction) in mm_cfg.LC_DESCRIPTIONS.items():
396
396
        revmap[_(name)] = key
397
397
    langnames = revmap.keys()
398
398
    langnames.sort()