From aa7d9d6d93c1489e3136f8ad2fb88d32f16a2496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 24 Aug 2015 16:54:05 +0200 Subject: Fix wrong function call in configurations script --- scripts/configurations.py | 6 +++--- 1 file 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) -- cgit v1.2.3