fix delete current file when doesnt match when restoring, logging was not being done...
authorEduardo Robles Elvira <edulix@wadobo.com>
Tue, 24 Jun 2014 09:35:42 +0000 (11:35 +0200)
committerEduardo Robles Elvira <edulix@wadobo.com>
Tue, 24 Jun 2014 09:36:01 +0000 (11:36 +0200)
deltatar/deltatar.py

index 82c85e4..2b37e90 100644 (file)
@@ -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()