From: Eduardo Robles Elvira Date: Tue, 24 Jun 2014 09:35:42 +0000 (+0200) Subject: fix delete current file when doesnt match when restoring, logging was not being done... X-Git-Tag: v2.2~56 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=c9d47a031502a27a01a59e3d9a6ce0941e92a3c4;p=python-delta-tar fix delete current file when doesnt match when restoring, logging was not being done correctly (crash) --- diff --git a/deltatar/deltatar.py b/deltatar/deltatar.py index 82c85e4..2b37e90 100644 --- a/deltatar/deltatar.py +++ b/deltatar/deltatar.py @@ -1318,7 +1318,7 @@ class DeltaTar(object): # if the file is not in the index (so it comes from the target # directory) then we have to delete it else: - self.logger.debug("delete %s" % upath['path']) + self.logger.debug("delete %s" % upath) helper.delete(upath) helper.restore_directories_permissions()