Message130948
Passing the format keyword parameter to shutil.unpack_archive triggers an exception:
Traceback (most recent call last):
File "Lib/test/test_shutil.py", line 650, in test_unpack_archive
unpack_archive(filename, tmpdir2, format=format)
File "/home/evan/hg/cpython/Lib/shutil.py", line 741, in unpack_archive
func(filename, extract_dir, **dict(format_info[1]))
TypeError: 'function' object is not iterable
This is due to that function incorrectly using the _UNPACK_FORMATS dictionary, which is fixed with the attached patch and test case. |
|
Date |
User |
Action |
Args |
2011-03-15 03:30:27 | ev | set | recipients:
+ ev, tarek |
2011-03-15 03:30:26 | ev | set | messageid: <1300159826.82.0.743719260919.issue11548@psf.upfronthosting.co.za> |
2011-03-15 03:30:26 | ev | link | issue11548 messages |
2011-03-15 03:30:26 | ev | create | |
|