1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Don't allow dupes from ref folders to step down from their ref position during reprioritization.

This commit is contained in:
Virgil Dupras
2011-09-23 13:14:57 -04:00
parent 11aa2c147c
commit 9fac97c147
6 changed files with 28 additions and 14 deletions

View File

@@ -416,6 +416,8 @@ class TestCaseDupeGuru_renameSelected:
fp = open(str(p + 'foo bar 3'),mode='w')
fp.close()
files = fs.get_files(p)
for f in files:
f.is_ref = False
matches = engine.getmatches(files)
groups = engine.get_groups(matches)
g = groups[0]