/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Lukáš Lalinsky
  • Date: 2007-08-10 21:00:12 UTC
  • mto: (2681.1.26 send-bundle)
  • mto: This revision was merged to the branch mainline in revision 2736.
  • Revision ID: lalinsky@gmail.com-20070810210012-kad74jgkycmf7rip
- Rename 'windows' to 'mapi'
- Add osutils.supports_mapi and use it instead of sys.platform check
- Don't use lazy_import

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
        selected_client = self.get_user_option('mail_client')
150
150
        try:
151
151
            mail_client_class = {
152
 
                None : mail_client.DefaultMail,
153
 
                'default' : mail_client.DefaultMail,
 
152
                None: mail_client.DefaultMail,
 
153
                'default': mail_client.DefaultMail,
154
154
                'editor': mail_client.Editor,
155
155
                'thunderbird': mail_client.Thunderbird,
156
156
                'evolution': mail_client.Evolution,
157
 
                'windows': mail_client.Windows,
 
157
                'mapi': mail_client.MAPIClient,
158
158
                'xdg-email': mail_client.XDGEmail,
159
159
            }[selected_client]
160
160
        except KeyError: