~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/medium.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:
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):