[Python-modules-commits] [pymssql] 04/06: Fix method signature declaration/definition mismatch error.
Geoffrey Thomas
geofft-guest at moszumanska.debian.org
Wed Nov 18 18:18:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
geofft-guest pushed a commit to branch 2.1.1
in repository pymssql.
commit fa964916fe731b5668d1448918d4569527feb0e6
Author: Ramiro Morales <ramiro at rmorales.net>
Date: Sun Apr 5 15:55:24 2015 -0300
Fix method signature declaration/definition mismatch error.
Cython 0.22 is more strict about this. See
https://github.com/cython/cython/blob/master/CHANGES.rst#022-2015-02-11
and http://docs.cython.org/src/userguide/language_basics.html#error-return-values
---
_mssql.pyx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_mssql.pyx b/_mssql.pyx
index 58fccbd..bce2cdd 100644
--- a/_mssql.pyx
+++ b/_mssql.pyx
@@ -819,7 +819,7 @@ cdef class MSSQLConnection:
return (<char *>data)[:length]
cdef int convert_python_value(self, object value, BYTE **dbValue,
- int *dbtype, int *length) except 1:
+ int *dbtype, int *length) except -1:
log("_mssql.MSSQLConnection.convert_python_value()")
cdef int *intValue
cdef double *dblValue
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pymssql.git
More information about the Python-modules-commits
mailing list