From 8b5197d335654f3b0514d8bf3fbdffacd3ee7699 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Fri, 22 Aug 2003 09:53:33 +0000 Subject: don't use apply anymore (Olivier Blin) --- share/shadow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/shadow.py') 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 -- cgit v1.2.1