aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-08-29 18:53:58 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-08-29 18:53:58 +0000
commitda855bec052460b42e5318f27801743d2893562c (patch)
treed4e475e711b7fe3e6e70bff84e9720c2f34326c3 /share
parent9be7c74aeb75772dad818e60a163983ae0d8bb45 (diff)
downloadmsec-da855bec052460b42e5318f27801743d2893562c.tar
msec-da855bec052460b42e5318f27801743d2893562c.tar.gz
msec-da855bec052460b42e5318f27801743d2893562c.tar.bz2
msec-da855bec052460b42e5318f27801743d2893562c.tar.xz
msec-da855bec052460b42e5318f27801743d2893562c.zip
call function with no argument in commit_changes.
Diffstat (limited to 'share')
-rwxr-xr-xshare/shadow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/shadow.py b/share/shadow.py
index 149246e..3a79563 100755
--- a/share/shadow.py
+++ b/share/shadow.py
@@ -53,7 +53,9 @@ def commit_changes():
for f in FAKE.values():
if len(f[1]) >= 1 and f[1][0] != -1:
apply(f[0], f[1])
-
+ elif len(f[1]) == 0:
+ apply(f[0])
+
def print_changes():
import sys
for f in FAKE.values():