diff options
author | Karel Kočí <cynerd@email.cz> | 2015-08-24 16:54:05 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-08-24 16:54:05 +0200 |
commit | aa7d9d6d93c1489e3136f8ad2fb88d32f16a2496 (patch) | |
tree | acbca1da31288f1d87e230eb04f86108d24b5b46 | |
parent | a611965667c44f5db923a48d26e824d094e1a664 (diff) | |
download | linux-conf-perf-aa7d9d6d93c1489e3136f8ad2fb88d32f16a2496.tar.gz linux-conf-perf-aa7d9d6d93c1489e3136f8ad2fb88d32f16a2496.tar.bz2 linux-conf-perf-aa7d9d6d93c1489e3136f8ad2fb88d32f16a2496.zip |
Fix wrong function call in configurations script
-rw-r--r-- | scripts/configurations.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/configurations.py b/scripts/configurations.py index 63c4016..ed81ef2 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -234,6 +234,7 @@ def generate(): raise exceptions.NoNewConfiguration() def compare(conf1, conf2): + """Compared two configuration""" # This is not exactly best comparison method for key, val in conf1.items(): try: @@ -252,10 +253,9 @@ def compare(conf1, conf2): def compare_text(text1, text2): conf1 = __load_config_text__(text1) conf2 = __load_config_text__(text2) - return compare_file(conf1, conf2) + return compare(conf1, conf2) def compare_file(file1, file2): - """Compared two configuration""" conf1 = __load_config_file__(file1) conf2 = __load_config_file__(file2) - return compare_file(conf1, conf2) + return compare(conf1, conf2) |