Commit 065e8eb8 authored by Jason R. Coombs's avatar Jason R. Coombs

Verified that not isinstance(IOError(), os.error), so there's no value in this...

Verified that not isinstance(IOError(), os.error), so there's no value in this statement being in the try block.

--HG--
branch : distribute
extra : rebase_source : 79dc86f2251503336feaa3d3f99c744d0ea45887
parent a938092e
...@@ -1409,10 +1409,10 @@ class ZipProvider(EggProvider): ...@@ -1409,10 +1409,10 @@ class ZipProvider(EggProvider):
) )
timestamp = time.mktime(date_time) timestamp = time.mktime(date_time)
if not WRITE_SUPPORT:
raise IOError('"os.rename" and "os.unlink" are not supported '
'on this platform')
try: try:
if not WRITE_SUPPORT:
raise IOError('"os.rename" and "os.unlink" are not supported '
'on this platform')
real_path = manager.get_cache_path( real_path = manager.get_cache_path(
self.egg_name, self._parts(zip_path) self.egg_name, self._parts(zip_path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment