Merged revisions 79191 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79191 | florent.xicluna | 2010-03-21 13:50:17 +0200 (Sun, 21 Mar 2010) | 3 lines

  No more deprecation warnings for distutils.sysconfig, following r78666.
  But when the "dl" module is available, it gives a py3k deprecation warning.
........
This commit is contained in:
Ezio Melotti 2010-08-03 07:51:50 +00:00
parent 55624a2261
commit e511c6ce8d
6 changed files with 13 additions and 12 deletions

View file

@ -160,7 +160,7 @@ def make_archive (base_name, format,
func = format_info[0]
for (arg,val) in format_info[1]:
kwargs[arg] = val
filename = apply(func, (base_name, base_dir), kwargs)
filename = func(base_name, base_dir, **kwargs)
try:
filename = func(base_name, base_dir, **kwargs)