From 28b9de601be14db81c5f144806811ad87b9055e8 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Tue, 8 Dec 2009 14:41:40 +0000 Subject: [PATCH] will not work,revert... but close --- pisi/operations/delta.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pisi/operations/delta.py b/pisi/operations/delta.py index a5b6b81b..c6dc98e4 100644 --- a/pisi/operations/delta.py +++ b/pisi/operations/delta.py @@ -104,9 +104,8 @@ def find_delta(oldfiles, newfiles): for f in newfiles.list: hashto_files.setdefault(f.hash, []).append(f) - # Find hash or permission changed files - files_new = set(map(lambda x:x.hash+x.mode, newfiles.list)) - files_old = set(map(lambda x:x.hash+x.mode, oldfiles.list)) + files_new = set(map(lambda x:x.hash, newfiles.list)) + files_old = set(map(lambda x:x.hash, oldfiles.list)) files_delta = files_new - files_old deltas = []