fix misleading error message in simple_cnf
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Mon, 5 Nov 2018 09:47:49 +0000 (10:47 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 5 Nov 2018 11:21:05 +0000 (12:21 +0100)
src/simple_cnf.py

index 25cb52e..1538983 100644 (file)
@@ -632,7 +632,7 @@ class SimpleCnf(object):
         :rtype: {str, int or str or None}
         """
         if len(self) != 1:
-            raise ValueError('get_value only possible if len == 1 (is {0})!'
+            raise ValueError('get_single_dict only possible if len == 1 (is {0})!'
                              .format(len(self)))
         return self.__cnfvars[0]