diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/apt_pkgmodule.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc index b6ae709e..cbf88294 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -29,7 +29,6 @@ #include <Python.h> /*}}}*/ - /** * A Python->C->Python gettext() function. * @@ -41,7 +40,7 @@ static PyObject *py_gettext(PyObject *self, PyObject *Args) { const char *msg; char *domain = "python-apt"; - if (PyArg_ParseTuple(Args,"s|s:gettext",&msg) == 0) + if (PyArg_ParseTuple(Args,"s|s:gettext",&msg, &domain) == 0) return 0; return PyString_FromString(dgettext(domain, msg)); |
