aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-24 16:54:05 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-24 16:54:05 +0200
commitaa7d9d6d93c1489e3136f8ad2fb88d32f16a2496 (patch)
treeacbca1da31288f1d87e230eb04f86108d24b5b46 /scripts
parenta611965667c44f5db923a48d26e824d094e1a664 (diff)
downloadlinux-conf-perf-aa7d9d6d93c1489e3136f8ad2fb88d32f16a2496.tar.gz
linux-conf-perf-aa7d9d6d93c1489e3136f8ad2fb88d32f16a2496.tar.bz2
linux-conf-perf-aa7d9d6d93c1489e3136f8ad2fb88d32f16a2496.zip
Fix wrong function call in configurations script
Diffstat (limited to 'scripts')
-rw-r--r--scripts/configurations.py6
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)