~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-09-16 20:29:04 UTC
  • mfrom: (2790.2.6 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20070916202904-8ad60iodgmscjglj
(Keir Mierle) Add Mutt as a supported email client

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
                # Specific clients
 
154
                'evolution': mail_client.Evolution,
 
155
                'kmail': mail_client.KMail,
 
156
                'mutt': mail_client.Mutt,
 
157
                'thunderbird': mail_client.Thunderbird,
 
158
                # Generic options
153
159
                'default': mail_client.DefaultMail,
154
160
                'editor': mail_client.Editor,
155
 
                'thunderbird': mail_client.Thunderbird,
156
 
                'evolution': mail_client.Evolution,
157
161
                'mapi': mail_client.MAPIClient,
158
162
                'xdg-email': mail_client.XDGEmail,
159
 
                'kmail': mail_client.KMail,
160
163
            }[selected_client]
161
164
        except KeyError:
162
165
            raise errors.UnknownMailClient(selected_client)