From 4d00f576f2520f420e07c475da3c962928803f8b Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Tue, 13 Jan 2009 21:32:05 +0000 Subject: Bugfixes for old parameters. --- src/msec/libmsec.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/msec/libmsec.py b/src/msec/libmsec.py index 97ca6c2..0680ae4 100755 --- a/src/msec/libmsec.py +++ b/src/msec/libmsec.py @@ -745,8 +745,7 @@ class MSEC: param = curconfig.get(opt) if param not in valid_params and '*' not in valid_params: self.log.error(_("Invalid parameter for %s: '%s'. Valid parameters: '%s'.") % (opt, - param, - valid_values[opt])) + param, valid_params)) continue action(curconfig.get(opt)) @@ -867,7 +866,7 @@ class MSEC: try: timeout = int(val) except: - self.log.error(_('Invalid shell timeout "%s"') % size) + self.log.error(_('Invalid shell timeout "%s"') % val) return old = msec.get_shell_variable('TMOUT') -- cgit v1.2.1