From da855bec052460b42e5318f27801743d2893562c Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Thu, 29 Aug 2002 18:53:58 +0000 Subject: call function with no argument in commit_changes. --- share/shadow.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'share/shadow.py') 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(): -- cgit v1.2.1