aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-12 15:43:06 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-12 15:43:06 +0200
commitc5fdcab3a1a034ef8933268d3237878716d7b2e0 (patch)
tree1165970b37a887e1d2fc6ffab5de9825c1fad85f /scripts
parentb950d11fd8c8059fc935e80816cbe27d8d0b9b7b (diff)
downloadlinux-conf-perf-c5fdcab3a1a034ef8933268d3237878716d7b2e0.tar.gz
linux-conf-perf-c5fdcab3a1a034ef8933268d3237878716d7b2e0.tar.bz2
linux-conf-perf-c5fdcab3a1a034ef8933268d3237878716d7b2e0.zip
Fix bug in configuration.py
Type inserted to method is str, but threated as int.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/configurations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/configurations.py b/scripts/configurations.py
index 8391140..73af8e2 100644
--- a/scripts/configurations.py
+++ b/scripts/configurations.py
@@ -76,7 +76,7 @@ def __write_temp_config_file__(con, conf_num):
s *= -1
else:
nt = False
- if s > conf_num:
+ if s > int(conf_num):
break;
if 'NONAMEGEN' in utils.smap[s]: # ignore generated names
continue