From e1d18f52c3e499cfbfe9f17192dbc84a80a57db8 Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Fri, 20 Dec 2002 20:13:35 +0000 Subject: Fix an error message in the _winreg module. The error message referred to a constant in the 'win32con' module, but this constant is also defined in the _winreg module itself. Bugfix candidate. --- PC/_winreg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PC/_winreg.c b/PC/_winreg.c index 07190ec..cbf30fc 100644 --- a/PC/_winreg.c +++ b/PC/_winreg.c @@ -1315,7 +1315,7 @@ PySetValue(PyObject *self, PyObject *args) return NULL; if (typ != REG_SZ) { PyErr_SetString(PyExc_TypeError, - "Type must be win32con.REG_SZ"); + "Type must be _winreg.REG_SZ"); return NULL; } /* XXX - need Unicode support */ -- cgit v0.12