aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2003-08-22 09:53:33 +0000
committerFrederic Lepied <flepied@mandriva.com>2003-08-22 09:53:33 +0000
commit8b5197d335654f3b0514d8bf3fbdffacd3ee7699 (patch)
tree3e99db87b03fc2fb71688f3f3f2e42266e643a5e /share
parent260dbd1167272feeb84cd335129a5180290d847d (diff)
downloadmsec-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')
-rwxr-xr-xshare/shadow.py4
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