diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-06-29 11:02:42 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-06-29 11:02:42 +0200 |
| commit | cdaebccd5f7a5a0e23a9be7989b64850fabafed1 (patch) | |
| tree | 52d3bd94c02ae9be75fb11bfd423043ef10838cc /python/string.cc | |
| parent | 57624b5df523c0b3a3ebc1741680f283ee1fbbcd (diff) | |
| parent | 340f6a3d54f5705801267f365fb08b5d20228fe6 (diff) | |
| download | python-apt-cdaebccd5f7a5a0e23a9be7989b64850fabafed1.tar.gz | |
merged from debian-sid
Diffstat (limited to 'python/string.cc')
| -rw-r--r-- | python/string.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/string.cc b/python/string.cc index b95ee3eb..6a1ce4e2 100644 --- a/python/string.cc +++ b/python/string.cc @@ -116,7 +116,7 @@ PyObject *StrCheckDomainList(PyObject *Self,PyObject *Args) char *List = 0; if (PyArg_ParseTuple(Args,"ss",&Host,&List) == 0) return 0; - return Py_BuildValue("i",CheckDomainList(Host,List)); + return PyBool_FromLong(CheckDomainList(Host,List)); } /*}}}*/ |
