aboutsummaryrefslogtreecommitdiffstats
path: root/share/msec.py
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2003-10-08 21:15:53 +0000
committerFrederic Lepied <flepied@mandriva.com>2003-10-08 21:15:53 +0000
commit432dfffc4d2a30b109ade6b0a4d2193694d49775 (patch)
tree31b1eb69dcc861c2568a305e6bd7f5adfa6e6455 /share/msec.py
parent64a71200e837eff0a8b5c00dc6f908cb99708275 (diff)
downloadmsec-432dfffc4d2a30b109ade6b0a4d2193694d49775.tar
msec-432dfffc4d2a30b109ade6b0a4d2193694d49775.tar.gz
msec-432dfffc4d2a30b109ade6b0a4d2193694d49775.tar.bz2
msec-432dfffc4d2a30b109ade6b0a4d2193694d49775.tar.xz
msec-432dfffc4d2a30b109ade6b0a4d2193694d49775.zip
use local_config
Diffstat (limited to 'share/msec.py')
-rwxr-xr-xshare/msec.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/msec.py b/share/msec.py
index f8a5289..7fdfee7 100755
--- a/share/msec.py
+++ b/share/msec.py
@@ -255,10 +255,12 @@ if Config.get_config('nolocal', '0') == '0':
CONFIG='/etc/security/msec/level.local'
if os.path.exists(CONFIG):
interactive and log(_('Reading local rules from %s') % CONFIG)
+ local_config(1)
try:
eval_file(CONFIG)
except:
log(_('Error loading %s: %s') % (CONFIG, str(sys.exc_value)))
+ local_config(0)
if Config.get_config('print', '0') == '1':
print_changes()