Module: check_mk
Branch: master
Commit: 0256bdc7711ecca4d5bccbb95ce0bdffa3dcae01
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0256bdc7711ecc…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Nov 23 14:57:39 2014 +0100
Fix a few comments
---
web/htdocs/valuespec.py | 2 +-
web/htdocs/wato.py | 1 -
web/plugins/views/inventory.py | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index 5b62e2d..e090a59 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -1301,7 +1301,7 @@ class CascadingDropdown(ValueSpec):
options.append((str(nr), title))
# Determine the default value for the select, so the
# the dropdown pre-selects the line corresponding with value.
- # Note: the html.select with automatically show the modified
+ # Note: the html.select() with automatically show the modified
# selection, if the HTML variable varprefix_sel aleady
# exists.
if value == val or (
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index fa121bf..5305e9d 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -10968,7 +10968,6 @@ def ajax_activation():
log_commit_pending() # flush logfile with pending actions
log_audit(None, "activate-config", _("Configuration activated,
monitoring server restarted"))
- # html.message
html.write('OK: ')
html.write('<div class=act_success><img
src="images/icon_apply.png" /> %s</div>' %
_("Configuration successfully activated."))
diff --git a/web/plugins/views/inventory.py b/web/plugins/views/inventory.py
index bacfd1d..96c02c1 100644
--- a/web/plugins/views/inventory.py
+++ b/web/plugins/views/inventory.py
@@ -243,7 +243,7 @@ def render_inv_dicttable(hostname, invpath, node):
extratitles.sort()
titles += extratitles
- # We cannot use table here, since html.plug does not work recursively
+ # We cannot use table here, since html.plug() does not work recursively
html.write('<table class=data>')
html.write('<tr>')
for title, key in titles: