one further nuance with counts after testing, fixed
This commit is contained in:
6
dups.py
6
dups.py
@@ -251,7 +251,11 @@ class Duplicates:
|
|||||||
if self.AddDupPath( hash ):
|
if self.AddDupPath( hash ):
|
||||||
self.total_dups += 2
|
self.total_dups += 2
|
||||||
else:
|
else:
|
||||||
self.total_dups += 1
|
# okay, if we are here, this path combo is also in an IP <-> SP combo.
|
||||||
|
# IF, this dup we tried to add was in SP<->SP, then there
|
||||||
|
# is another dup to count, if its IP<->IP (as we append these to the del list), then nothing further to count
|
||||||
|
if self.InStoragePath(self.dups_to_process[hash][0].d):
|
||||||
|
self.total_dups += 1
|
||||||
return
|
return
|
||||||
|
|
||||||
# quick debugger to see the data in the data structure
|
# quick debugger to see the data in the data structure
|
||||||
|
|||||||
Reference in New Issue
Block a user