477
480
self._translate_io_exception(e, path, ': unable to mkdir',
480
def _translate_io_exception(self, e, path, more_info='', failure_exc=NoSuchFile):
483
def _translate_io_exception(self, e, path, more_info='',
481
485
"""Translate a paramiko or IOError into a friendlier exception.
483
487
:param e: The original exception