summaryrefslogtreecommitdiff
path: root/databases/py-PgSQL/patches/patch-aa
blob: 982b370a34496bc799afd15e679758b0c69ca4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-aa,v 1.1.1.1 2003/09/09 13:46:24 recht Exp $

--- libpqmodule.c.orig	2003-06-17 03:28:30.000000000 +0200
+++ libpqmodule.c	2003-07-26 15:26:34.000000000 +0200
@@ -791,7 +791,7 @@
         return PgInt8_FromString(s, (char **)NULL, 10);
     }
 
-    PyErr_SetString(PyExc_TypeError, "a string or numeric is requireed");
+    PyErr_SetString(PyExc_TypeError, "a string or numeric is required");
     return (PyObject *)NULL;
 }
 #endif
@@ -855,7 +855,7 @@
         return PgInt2_FromString(s, (char **)NULL, 10);
     }
 
-    PyErr_SetString(PyExc_TypeError, "a string or numeric is requireed");
+    PyErr_SetString(PyExc_TypeError, "a string or numeric is required");
     return (PyObject *)NULL;
 }
 
@@ -907,7 +907,7 @@
         return libPQbool_FromString(self, args);
     }
 
-    PyErr_SetString(PyExc_TypeError, "a string or numeric is requireed");
+    PyErr_SetString(PyExc_TypeError, "a string or numeric is required");
     return (PyObject *)NULL;
 }