commit | ec8c8c2ef2cac83a12b249c4e6ba4c62c018bfdc | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Jul 28 17:30:06 1998 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Jul 28 17:30:06 1998 +0000 |
tree | d8bce6e6e21701ec729b18de8d5ddb54d2f314fb | |
parent | ee7fd697bf2e1752f2a484030906ea7b7912e0e8 [diff] |
fix __str__ method of EnvironmentError (base class of IOError): was using "%d" % errno to print out IOError exceptions -- but urllib.py raises exceptions where the errno slot in the exception tuple is a string.