~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-28 15:33:21 UTC
  • mfrom: (6015.27.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20110828153321-knbejjeq0mrkjyp9
(jameinel) Bug #827721, OS/IOError will have locale dependent encoding,
        so %r rather than %s. (IWATA Hidetaka)

Show diffs side-by-side

added added

removed removed

Lines of Context:
322
322
            if e.errno in (errno.ENOENT, errno.ENOTDIR):
323
323
                raise errors.NoSuchFile(path, extra=e)
324
324
            elif e.errno == errno.EINVAL:
325
 
                mutter("EINVAL returned on path %s: %s" % (path, e))
 
325
                mutter("EINVAL returned on path %s: %r" % (path, e))
326
326
                raise errors.NoSuchFile(path, extra=e)
327
327
            # I would rather use errno.EFOO, but there doesn't seem to be
328
328
            # any matching for 267