diff options
author | Karel Kočí <cynerd@email.cz> | 2015-08-12 16:41:59 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-08-12 16:41:59 +0200 |
commit | 303a971fefa1a15cb0cebc65274b118bf62ae889 (patch) | |
tree | 63b147e7ecbc8a1a32852a5eed2552c70d832f2b | |
parent | 64ff2853f2e06fd67dc1f73bb913e53c2db97f51 (diff) | |
download | linux-conf-perf-303a971fefa1a15cb0cebc65274b118bf62ae889.tar.gz linux-conf-perf-303a971fefa1a15cb0cebc65274b118bf62ae889.tar.bz2 linux-conf-perf-303a971fefa1a15cb0cebc65274b118bf62ae889.zip |
Fix problem with wrongly printed first line in CNF file
-rw-r--r-- | scripts/configurations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/configurations.py b/scripts/configurations.py index e43087e..7a4a071 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -211,8 +211,8 @@ def generate(): # Load variable count with open(sf(conf.variable_count_file)) as f: - var_num = f.readline() - conf_num = f.readline() + var_num = f.readline().rstrip() + conf_num = f.readline().rstrip() if __generate_single__(var_num, conf_num): return |