diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Bcfg2/Server/Lint/MergeFiles.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/MergeFiles.py b/src/lib/Bcfg2/Server/Lint/MergeFiles.py index 3a6251594..3b89e507a 100644 --- a/src/lib/Bcfg2/Server/Lint/MergeFiles.py +++ b/src/lib/Bcfg2/Server/Lint/MergeFiles.py @@ -121,9 +121,9 @@ class MergeFiles(Bcfg2.Server.Lint.ServerPlugin): if seqmatch.real_quick_ratio() == 1.0: identical.add(cname) elif ( - seqmatch.real_quick_ratio() > Bcfg2.Options.setup.threshold and - seqmatch.quick_ratio() > Bcfg2.Options.setup.threshold and - seqmatch.ratio() > Bcfg2.Options.setup.threshold): + seqmatch.real_quick_ratio() > threshold(Bcfg2.Options.setup.threshold) and + seqmatch.quick_ratio() > threshold(Bcfg2.Options.setup.threshold) and + seqmatch.ratio() > threshold(Bcfg2.Options.setup.threshold)): similar.add(cname) if similar: similar.add(fname) |