def _strip_root(self, sftp_path): """Wrap helper""" #self.logger.debug("strip_root: %s" % sftp_path) reply = strip_root(sftp_path, self.root, self.chroot_exceptions) #self.logger.debug("strip_root returns: %s :: %s" % (sftp_path, # reply)) return reply
def _strip_root(self, davs_path): """Wrap helper""" #logger.debug("strip_root: %s" % davs_path) reply = strip_root(davs_path, self.root, self.chroot_exceptions) logger.debug("strip_root returns: %s :: %s" % (davs_path, reply)) return reply