Fixed a typo in error.py causing it to fail on Windows.
--HG-- branch : trunk
This commit is contained in:
parent
47bad98c07
commit
62a4cf68e8
|
@ -74,7 +74,7 @@ class ErrorMaker(object):
|
|||
cls = self._geterrnoclass(errno)
|
||||
else:
|
||||
try:
|
||||
cls = self._geterrnoclass(_winerrnomap[eno])
|
||||
cls = self._geterrnoclass(_winerrnomap[errno])
|
||||
except KeyError:
|
||||
raise value
|
||||
raise cls("%s%r" % (func.__name__, args))
|
||||
|
|
Loading…
Reference in New Issue