Module: check_mk
Branch: master
Commit: 69c26ac3c1f3e18aea5b40ba0291701b271268c9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=69c26ac3c1f3e1…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Feb 20 14:56:19 2013 +0100
transform valuespec: using self._back function on default and canonical value
---
web/htdocs/valuespec.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index beac6c8..76921d2 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -2175,10 +2175,10 @@ class Transform(ValueSpec):
self._valuespec.set_focus(*args)
def canonical_value(self):
- return self._valuespec.canonical_value()
+ return self._back(self._valuespec.canonical_value())
def default_value(self):
- return self._valuespec.default_value()
+ return self._back(self._valuespec.default_value())
def value_to_text(self, value):
return self._valuespec.value_to_text(self.forth(value))