diff options
author | Karel Kočí <cynerd@email.cz> | 2015-08-12 15:43:06 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-08-13 10:12:09 +0200 |
commit | 3adf6c6ffefbb1b0850401f3415d321ef2d2e42c (patch) | |
tree | 42c297f7c5d6916037d112a921d240624b645339 | |
parent | 78e08ef8cd15a60f19b15a9b5f1dfcdf57767721 (diff) | |
download | linux-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.py | 2 |
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 |