~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-12-18 15:43:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6383.
  • Revision ID: jelmer@samba.org-20111218154347-d42sxp2qzn36uo2r
Add urlutils.quote / urlutils.unquote.

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: