/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 breezy/urlutils.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-25 18:15:53 UTC
  • mfrom: (7045.4.7 python3-s)
  • Revision ID: breezy.the.bot@gmail.com-20180725181553-mz6zhncntlovb8ii
Fix another couple of hundred tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python3-s/+merge/350749

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
if PY3:
100
100
    quote_from_bytes = urlparse.quote_from_bytes
101
101
    quote = urlparse.quote
 
102
    unquote_to_bytes = urlparse.unquote_to_bytes
102
103
else:
103
104
    # Private copies of quote and unquote, copied from Python's
104
105
    # urllib module because urllib unconditionally imports socket, which imports
152
153
        return ''.join(map(quoter, s))
153
154
 
154
155
    quote = quote_from_bytes
 
156
    unquote_to_bytes = urlparse.unquote
155
157
 
156
158
 
157
159
unquote = urlparse.unquote