aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-01-13 21:32:05 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-01-13 21:32:05 +0000
commit4d00f576f2520f420e07c475da3c962928803f8b (patch)
tree8352e92f584be93ad8d7393733d44a2c66be6c9d /src
parent43ae230908a7360e79a9fe6949c4cabf9df0bc15 (diff)
downloadmsec-4d00f576f2520f420e07c475da3c962928803f8b.tar
msec-4d00f576f2520f420e07c475da3c962928803f8b.tar.gz
msec-4d00f576f2520f420e07c475da3c962928803f8b.tar.bz2
msec-4d00f576f2520f420e07c475da3c962928803f8b.tar.xz
msec-4d00f576f2520f420e07c475da3c962928803f8b.zip
Bugfixes for old parameters.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/libmsec.py5
1 files changed, 2 insertions, 3 deletions
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')