]> granicus.if.org Git - python/commit
Fix the breakage of Lib/tarfile.py on non-Windows platforms due to
authorBrian Curtin <brian.curtin@gmail.com>
Fri, 9 Jul 2010 13:54:27 +0000 (13:54 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Fri, 9 Jul 2010 13:54:27 +0000 (13:54 +0000)
commit16633fa497caec98c5aa86afb99fb4e9c27f3b62
treeb99e6086d236921cbc1928cd9f0f03312e4f435c
parent4b83af957629197050f61988183f56564892ab94
Fix the breakage of Lib/tarfile.py on non-Windows platforms due to
using WindowsError in a try/except. Only add WindowsError to the list of
exceptions to catch when we are actually running on Windows.

Additionally, add a call that was left out in test_posixpath.

Thanks Amaury, Antoine, and Jason.
Lib/tarfile.py
Lib/test/test_posixpath.py