From 62a4cf68e8584193cf62243e11c02be9613cc8b1 Mon Sep 17 00:00:00 2001 From: Jurko Date: Sat, 12 Sep 2009 00:16:13 +0200 Subject: [PATCH] Fixed a typo in error.py causing it to fail on Windows. --HG-- branch : trunk --- py/error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/error.py b/py/error.py index 870f82395..2f1d9e3a0 100644 --- a/py/error.py +++ b/py/error.py @@ -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))