diff options
author | Frederic Lepied <flepied@mandriva.com> | 2003-08-22 09:53:33 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2003-08-22 09:53:33 +0000 |
commit | 8b5197d335654f3b0514d8bf3fbdffacd3ee7699 (patch) | |
tree | 3e99db87b03fc2fb71688f3f3f2e42266e643a5e /share/shadow.py | |
parent | 260dbd1167272feeb84cd335129a5180290d847d (diff) | |
download | msec-8b5197d335654f3b0514d8bf3fbdffacd3ee7699.tar msec-8b5197d335654f3b0514d8bf3fbdffacd3ee7699.tar.gz msec-8b5197d335654f3b0514d8bf3fbdffacd3ee7699.tar.bz2 msec-8b5197d335654f3b0514d8bf3fbdffacd3ee7699.tar.xz msec-8b5197d335654f3b0514d8bf3fbdffacd3ee7699.zip |
don't use apply anymore (Olivier Blin)
Diffstat (limited to 'share/shadow.py')
-rwxr-xr-x | share/shadow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/shadow.py b/share/shadow.py index 3a79563..36cd03c 100755 --- a/share/shadow.py +++ b/share/shadow.py @@ -52,9 +52,9 @@ def indirect(name, func, type, args): def commit_changes(): for f in FAKE.values(): if len(f[1]) >= 1 and f[1][0] != -1: - apply(f[0], f[1]) + f[0](*f[1]) elif len(f[1]) == 0: - apply(f[0]) + f[0]() def print_changes(): import sys |