~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/medium.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:
28
28
import os
29
29
import sys
30
30
import time
31
 
import urllib
32
31
 
33
32
import bzrlib
34
33
from bzrlib.lazy_import import lazy_import
840
839
        """
841
840
        medium_base = urlutils.join(self.base, '/')
842
841
        rel_url = urlutils.relative_url(medium_base, transport.base)
843
 
        return urllib.unquote(rel_url)
 
842
        return urlutils.unquote(rel_url)
844
843
 
845
844
 
846
845
class SmartClientStreamMedium(SmartClientMedium):