aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-12 15:48:19 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-12 15:48:19 +0200
commit9df57d275f44d8f7919bd9b307bcf09a30c53683 (patch)
tree39c8cd8089712cef9980a103523703191e0aeead /scripts
parentc5fdcab3a1a034ef8933268d3237878716d7b2e0 (diff)
downloadlinux-conf-perf-9df57d275f44d8f7919bd9b307bcf09a30c53683.tar.gz
linux-conf-perf-9df57d275f44d8f7919bd9b307bcf09a30c53683.tar.bz2
linux-conf-perf-9df57d275f44d8f7919bd9b307bcf09a30c53683.zip
Fix if generated existing configuration
When some generator tries to register already generated solution, it shouldn't be registered.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/configurations.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/configurations.py b/scripts/configurations.py
index 73af8e2..35eaa37 100644
--- a/scripts/configurations.py
+++ b/scripts/configurations.py
@@ -153,6 +153,7 @@ def __register_conf__(con, conf_num, generator):
if os.path.isfile(filen):
if compare(filen, wfile):
print("I: Generated existing configuration.")
+ return
else:
print("W: Generated configuration with collision hash.")
# TODO this might have to be tweaked