~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Keir Mierle
  • Date: 2007-09-04 17:50:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2824.
  • Revision ID: keir@cs.utoronto.ca-20070904175027-xvye7lkynkkrz9tl
Change alphabetic ordering into two categories; one for specific clients the other for generic options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
        try:
151
151
            mail_client_class = {
152
152
                None: mail_client.DefaultMail,
153
 
                'default': mail_client.DefaultMail,
154
 
                'editor': mail_client.Editor,
 
153
                # Specific clients
155
154
                'evolution': mail_client.Evolution,
156
155
                'kmail': mail_client.KMail,
157
 
                'mapi': mail_client.MAPIClient,
158
156
                'mutt': mail_client.Mutt,
159
157
                'thunderbird': mail_client.Thunderbird,
 
158
                # Generic options
 
159
                'default': mail_client.DefaultMail,
 
160
                'editor': mail_client.Editor,
 
161
                'mapi': mail_client.MAPIClient,
160
162
                'xdg-email': mail_client.XDGEmail,
161
163
            }[selected_client]
162
164
        except KeyError: