mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-01-31 17:34:08 +03:00
Merge branch 'fix-558'
This commit is contained in:
commit
8ab16807c6
|
@ -305,8 +305,7 @@ interval_from_usecs(const char *str)
|
||||||
}
|
}
|
||||||
|
|
||||||
rv = PyObject_CallFunction(
|
rv = PyObject_CallFunction(
|
||||||
(PyObject*)PyDateTimeAPI->DeltaType, "LLO",
|
(PyObject*)PyDateTimeAPI->DeltaType, "iiO", 0, 0, us);
|
||||||
0L, 0L, us);
|
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
Py_XDECREF(us);
|
Py_XDECREF(us);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user