Remove apply()

This commit is contained in:
Neal Norwitz 2006-03-17 08:00:19 +00:00
parent fe55464f39
commit d91085598f
56 changed files with 179 additions and 285 deletions

View file

@ -995,7 +995,7 @@ class Popen(object):
os.chdir(cwd)
if preexec_fn:
apply(preexec_fn)
preexec_fn()
if env is None:
os.execvp(executable, args)