aboutsummaryrefslogtreecommitdiffstats
path: root/share/shadow.py
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-03-26 04:55:06 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-03-26 04:55:06 +0000
commit722121e2f17618c6a226036a9c0d166b8344e644 (patch)
tree813e7873924ff4a449372e7e25b0e174e1c60e3c /share/shadow.py
parent96b3c0a7bcff8be9fc91710429ccc8babe15e3ed (diff)
downloadmsec-722121e2f17618c6a226036a9c0d166b8344e644.tar
msec-722121e2f17618c6a226036a9c0d166b8344e644.tar.gz
msec-722121e2f17618c6a226036a9c0d166b8344e644.tar.bz2
msec-722121e2f17618c6a226036a9c0d166b8344e644.tar.xz
msec-722121e2f17618c6a226036a9c0d166b8344e644.zip
handle ignore case.
Diffstat (limited to 'share/shadow.py')
-rwxr-xr-xshare/shadow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/shadow.py b/share/shadow.py
index f7ec12f..e5365d7 100755
--- a/share/shadow.py
+++ b/share/shadow.py
@@ -37,6 +37,7 @@ LOCAL=2
yes=1
no=0
+ignore=-1
FAKE = {}
@@ -49,7 +50,8 @@ def indirect(name, func, type, args):
def commit_changes():
for f in FAKE.values():
- apply(f[0], f[1])
+ if len(f[1]) >= 1 and f[1][0] != -1:
+ apply(f[0], f[1])
"""