~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

  • Committer: Robert Collins
  • Date: 2005-10-23 11:46:19 UTC
  • Revision ID: robertc@robertcollins.net-20051023114619-cec8ca25207b1344
More quoting at the transport layer bugfixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
        """Walk the relative paths of all files in this transport."""
218
218
        queue = list(self.list_dir('.'))
219
219
        while queue:
220
 
            relpath = queue.pop(0)
 
220
            relpath = urllib.quote(queue.pop(0))
221
221
            st = self.stat(relpath)
222
222
            if stat.S_ISDIR(st.st_mode):
223
223
                for i, basename in enumerate(self.list_dir(relpath)):