/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/smtp_connection.py

  • Committer: Alexander Belchenko
  • Date: 2009-04-27 08:50:49 UTC
  • mto: (4426.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4427.
  • Revision ID: bialix@ukr.net-20090427085049-w1033mm50oi2luql
using_bazaar_with_launchpad.txt: translated text copy-pasted from notabenoid site.  

TODO: need to reformat and fix errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
            # FIXME: Since _authenticate gets called even when no authentication
110
110
            # is necessary, it's not possible to use the default username 
111
111
            # here yet.
112
 
            self._smtp_username = auth.get_user('smtp', self._smtp_server)
113
 
            if self._smtp_username is None:
 
112
            self._smtp_username = auth.get_user('smtp', self._smtp_server, 
 
113
                default="")
 
114
            if self._smtp_username == "":
114
115
                return
115
116
 
116
117
        if self._smtp_password is None: