]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/metadata.py
vfs: fix finish_extract()
[bup.git] / lib / bup / metadata.py
index 27f5276b096009e8ea957c7c281fbe48e795b84b..48b1a07d5009b0f90342a807f561cf9960cb1f8d 100644 (file)
@@ -1186,7 +1186,7 @@ def finish_extract(file, restore_numeric_ids=False):
         xpath = _clean_up_extract_path(meta.path)
         if not xpath:
             add_error(Exception('skipping risky path "%s"'
-                                % path_msg(dir.path)))
+                                % path_msg(meta.path)))
         else:
             if os.path.isdir(meta.path):
                 all_dirs.append(meta)