aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-02-15 05:20:09 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-02-15 05:20:09 +0000
commita708784cdc9dca1067afee260dad239471cc3d6d (patch)
tree071bd27e54ee38df5034090d6a5b165494a9a085 /share
parentfe93f5b2415d1b7fd99551a88ea464c62b05865a (diff)
downloadmsec-a708784cdc9dca1067afee260dad239471cc3d6d.tar
msec-a708784cdc9dca1067afee260dad239471cc3d6d.tar.gz
msec-a708784cdc9dca1067afee260dad239471cc3d6d.tar.bz2
msec-a708784cdc9dca1067afee260dad239471cc3d6d.tar.xz
msec-a708784cdc9dca1067afee260dad239471cc3d6d.zip
use the right string for the prog name
Diffstat (limited to 'share')
-rwxr-xr-xshare/msec.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/msec.py b/share/msec.py
index 2aab07a..222ea69 100755
--- a/share/msec.py
+++ b/share/msec.py
@@ -70,7 +70,7 @@ else:
if len(args) == 0:
level = get_secure_level()
if level == None:
- error(_('Secure level not set. Use %s <secure level> to set it.') % _msec)
+ error(_('Secure level not set. Use %s <secure level> to set it.') % _name)
sys.exit(1)
else:
level = args[0]
@@ -78,11 +78,11 @@ else:
try:
level = int(level)
except ValueError:
- error(_('Invalid secure level %s. Use %s [0-5] to set it.') % (level, _msec))
+ error(_('Invalid secure level %s. Use %s [0-5] to set it.') % (level, _name))
sys.exit(1)
if level < 0 or level > 5:
- error(_('Invalid secure level %s. Use %s [0-5] to set it.') % (level, _msec))
+ error(_('Invalid secure level %s. Use %s [0-5] to set it.') % (level, _name))
sys.exit(1)
interactive and log(_('### Program is starting ###'))