~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

Merge bzr.dev (and fix NEWS)

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
        """
293
293
        path = self._abspath(relpath)
294
294
        try:
295
 
            return [urlutils.escape(entry) for entry in os.listdir(path)]
 
295
            entries = os.listdir(path)
296
296
        except (IOError, OSError), e:
297
297
            self._translate_error(e, path)
 
298
        return [urlutils.escape(entry) for entry in entries]
298
299
 
299
300
    def stat(self, relpath):
300
301
        """Return the stat information for a file.