From 9e11ae567d91dafda3003d1e78121d02d22fdede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Borgstr=C3=B6m?= Date: Thu, 23 Jun 2011 22:41:06 +0200 Subject: [PATCH] Added missing path prefix strip for hard links --- darc/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darc/archive.py b/darc/archive.py index 40fa35541..dc9209ff7 100644 --- a/darc/archive.py +++ b/darc/archive.py @@ -259,7 +259,7 @@ def process_file(self, path, st, cache): source = self.hard_links.get((st.st_ino, st.st_dev)) if (st.st_ino, st.st_dev) in self.hard_links: item = self.stat_attrs(st, path) - item.update({'path': path, 'source': source}) + item.update({'path': safe_path, 'source': source}) self.add_item(item) return else: