/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/plugins/launchpad/lp_directory.py

  • Committer: Andrew Bennetts
  • Date: 2008-10-27 06:14:45 UTC
  • mfrom: (3793 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3795.
  • Revision ID: andrew.bennetts@canonical.com-20081027061445-eqt9lz6uw1mbvq4g
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
                                              fragment):
91
91
                # Only accept launchpad.net bzr+ssh URLs if we know
92
92
                # the user's Launchpad login:
 
93
                if _lp_login is not None:
 
94
                    break
93
95
                if _lp_login is None:
94
96
                    if not _warned_login:
95
97
                        trace.warning('You have not informed bzr of your '
97
99
                                'write operation and it fails, run '
98
100
                                '"bzr launchpad-login YOUR_ID" and try again.')
99
101
                        _warned_login = True
100
 
                    continue
101
 
                url = urlunsplit((scheme, '%s@%s' % (_lp_login, netloc),
102
 
                                  path, query, fragment))
103
 
                break
104
102
            else:
105
103
                # Use the URL if we can create a transport for it.
106
104
                try: