]> arthur.barton.de Git - bup.git/commitdiff
Fix "meta extract -v" directory output.
authorRob Browning <rlb@defaultvalue.org>
Mon, 24 Jan 2011 02:52:16 +0000 (20:52 -0600)
committerRob Browning <rlb@defaultvalue.org>
Mon, 24 Jan 2011 02:52:16 +0000 (20:52 -0600)
lib/bup/metadata.py

index 12574dba56bf55f0c3446c181b7f348eeff25912..8787b4586e24ec914767a1a1ad6055b102c2d470 100644 (file)
@@ -676,9 +676,9 @@ def extract(file, restore_numeric_ids=False, create_symlinks=True):
     all_dirs.sort(key = lambda x : len(x.path), reverse=True)
     for dir in all_dirs:
         # Don't need to check xpath -- won't be in all_dirs if not OK.
-        xpath = _clean_up_extract_path(meta.path)
+        xpath = _clean_up_extract_path(dir.path)
         if verbose:
-            print >> sys.stderr, '=', meta.path
+            print >> sys.stderr, '=', xpath
         # Shouldn't have to check for risky paths here (omitted above).
         dir.apply_to_path(path=dir.path,
                           restore_numeric_ids=restore_numeric_ids)