if not os.path.isabs(volume_path):
volume_path = os.path.join(cwd, volume_path)
- self.logger.debug("opening volume %s" % volume_path)
+ deltarobj.logger.debug("opening volume %s" % volume_path)
tarobj.open_volume(volume_path)
# wraps some args from context into the handler
helper.restore(ipath, l_no, restore_callback)
except Exception as e:
self.logger.error("FAILED to restore: {} ({})"
- .format(path.get('path', ''), e))
+ .format(ipath.get('path', ''), e))
continue
# if both files are equal, we have nothing to restore