mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
removing the last remaning apply() calls
This commit is contained in:
parent
1b48671ef1
commit
f638486cf0
3 changed files with 3 additions and 3 deletions
|
@ -233,7 +233,7 @@ def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
|
|||
kwargs['owner'] = owner
|
||||
kwargs['group'] = group
|
||||
|
||||
filename = apply(func, (base_name, base_dir), kwargs)
|
||||
filename = func(base_name, base_dir, **kwargs)
|
||||
if root_dir is not None:
|
||||
log.debug("changing back to '%s'", save_cwd)
|
||||
os.chdir(save_cwd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue