~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/lp_registration.py

  • Committer: Patch Queue Manager
  • Date: 2011-12-19 01:56:41 UTC
  • mfrom: (6379.4.8 urlutils-quote)
  • Revision ID: pqm@pqm.ubuntu.com-20111219015641-k7fyhyf6rfgk93m2
(jelmer) Include quote() and unquote() directly in bzrlib.urlutils. (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
            # the url?  perhaps a bit more secure against accidentally
167
167
            # revealing it.  std66 s3.2.1 discourages putting the
168
168
            # password in the url.
169
 
            hostinfo = '%s:%s@%s' % (urllib.quote(self.registrant_email),
170
 
                                     urllib.quote(self.registrant_password),
 
169
            hostinfo = '%s:%s@%s' % (urlutils.quote(self.registrant_email),
 
170
                                     urlutils.quote(self.registrant_password),
171
171
                                     hostinfo)
172
172
            url = urlunsplit((scheme, hostinfo, path, '', ''))
173
173
        else: