소스 검색

Added missing path prefix strip for hard links

Jonas Borgström 14 년 전
부모
커밋
9e11ae567d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      darc/archive.py

+ 1 - 1
darc/archive.py

@@ -259,7 +259,7 @@ class Archive(object):
             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: