[checkmk-commits] Check_MK Git: check_mk: Remove _() from internal filter code

git version control git at mathias-kettner.de
Wed Nov 7 09:38:44 CET 2012


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

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Tue Nov  6 13:37:57 2012 +0100

Remove _() from internal filter code

---

 web/plugins/views/filters.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web/plugins/views/filters.py b/web/plugins/views/filters.py
index 4fe3a1b..3415559 100644
--- a/web/plugins/views/filters.py
+++ b/web/plugins/views/filters.py
@@ -42,7 +42,7 @@ class FilterText(Filter):
         htmlvar = self.htmlvars[0]
         current_value = html.var(htmlvar)
         if current_value:
-            return _("Filter: %s %s %s\n") % (self.column, self.op, current_value)
+            return "Filter: %s %s %s\n" % (self.column, self.op, current_value)
         else:
             return ""
 



More information about the checkmk-commits mailing list