[checkmk-commits] Check_MK Git: check_mk: fixed typo in dictionary valuespec

Andreas Boesl ab at mathias-kettner.de
Wed Sep 25 13:26:07 CEST 2013


Module: check_mk
Branch: master
Commit: 94fa4120bfeaf68d8e8dc04087e54043770d4862
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=94fa4120bfeaf68d8e8dc04087e54043770d4862

Author: Andreas Boesl <ab at mathias-kettner.de>
Date:   Wed Sep 25 13:26:00 2013 +0200

fixed typo in dictionary valuespec

---

 web/htdocs/valuespec.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index 7b3b1f6..239b87a 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -2327,7 +2327,7 @@ class Dictionary(ValueSpec):
                 except MKUserError, e:
                     raise MKUserError(e.varname, _("%s: %s") % (vs.title(), e.message))
             elif not self._optional_keys or param in self._required_keys:
-                raise MKUserError(varprefix, _("The entry %s is missing") % vp.title())
+                raise MKUserError(varprefix, _("The entry %s is missing") % vs.title())
 
         # Check for exceeding keys
         allowed_keys = [ p for (p,v) in self._get_elements() ]



More information about the checkmk-commits mailing list