Fixed a typo in error.py causing it to fail on Windows.

--HG--
branch : trunk
This commit is contained in:
Jurko 2009-09-12 00:16:13 +02:00
parent 47bad98c07
commit 62a4cf68e8
1 changed files with 1 additions and 1 deletions

View File

@ -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))