aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-12 15:43:06 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-13 10:12:09 +0200
commit3adf6c6ffefbb1b0850401f3415d321ef2d2e42c (patch)
tree42c297f7c5d6916037d112a921d240624b645339
parent78e08ef8cd15a60f19b15a9b5f1dfcdf57767721 (diff)
downloadlinux-conf-perf-3adf6c6ffefbb1b0850401f3415d321ef2d2e42c.tar.gz
linux-conf-perf-3adf6c6ffefbb1b0850401f3415d321ef2d2e42c.tar.bz2
linux-conf-perf-3adf6c6ffefbb1b0850401f3415d321ef2d2e42c.zip
Fix bug in configuration.py
Type inserted to method is str, but threated as int.
-rw-r--r--scripts/configurations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/configurations.py b/scripts/configurations.py
index ba326ea..c58f3f5 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