aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-12 16:41:59 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-13 10:13:43 +0200
commit3ee62e5d11b8516bda319e6e427e35dd4509f6b1 (patch)
treeb5824cad7f887efb517251b4bd285f3ef498cb06
parentdf5b3585299628def438de1b7569b0677491ea34 (diff)
downloadlinux-conf-perf-3ee62e5d11b8516bda319e6e427e35dd4509f6b1.tar.gz
linux-conf-perf-3ee62e5d11b8516bda319e6e427e35dd4509f6b1.tar.bz2
linux-conf-perf-3ee62e5d11b8516bda319e6e427e35dd4509f6b1.zip
Fix problem with wrongly printed first line in CNF file
-rw-r--r--scripts/configurations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/configurations.py b/scripts/configurations.py
index 2909578..e3a7d0b 100644
--- a/scripts/configurations.py
+++ b/scripts/configurations.py
@@ -206,8 +206,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