diff options
author | Karel Kočí <cynerd@email.cz> | 2015-05-13 18:00:57 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-05-13 18:00:57 +0200 |
commit | 6b1e2e4c741321047af1cad95ac155f30f1e5550 (patch) | |
tree | 3874c25b2ed53ec8ec68319aa591055be717d15d /scripts/solution.py | |
parent | 0f37f87b87ef9fb4cc8665be9bc9588a39914f6b (diff) | |
download | linux-conf-perf-6b1e2e4c741321047af1cad95ac155f30f1e5550.tar.gz linux-conf-perf-6b1e2e4c741321047af1cad95ac155f30f1e5550.tar.bz2 linux-conf-perf-6b1e2e4c741321047af1cad95ac155f30f1e5550.zip |
Fix ARCH env variable
Diffstat (limited to 'scripts/solution.py')
-rw-r--r-- | scripts/solution.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/solution.py b/scripts/solution.py index f9f605b..1ee1664 100644 --- a/scripts/solution.py +++ b/scripts/solution.py @@ -101,11 +101,13 @@ def apply(): solved = set() solution = [] + # Load set of solved solutions if os.path.isfile(sf(config_solved_file)): with open(sf(conf.config_solved_file)) as f: for ln in f: solved.add(ln.strip()) + # Load one solution if it is not in solved with open(sf(conf.config_map_file)) as f: while True: w = f.readline().split(sep=':') |