will not work,revert... but close

This commit is contained in:
Faik Uygur
2009-12-08 14:41:40 +00:00
parent 0382d3d10e
commit 28b9de601b
+2 -3
View File
@@ -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 = []