diff options
Diffstat (limited to 'python/rpmtd-py.c')
-rw-r--r-- | python/rpmtd-py.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/rpmtd-py.c b/python/rpmtd-py.c index 7655755f0..ed3a1455a 100644 --- a/python/rpmtd-py.c +++ b/python/rpmtd-py.c @@ -167,7 +167,7 @@ static PyGetSetDef rpmtd_getseters[] = { PyTypeObject rpmtd_Type = { PyVarObject_HEAD_INIT(&PyType_Type, 0) - "rpm.td", /* tp_name */ + PYTHON_MODULENAME".td", /* tp_name */ sizeof(rpmtdObject), /* tp_size */ 0, /* tp_itemsize */ (destructor) rpmtd_dealloc, /* tp_dealloc */ @@ -214,7 +214,7 @@ int rpmtdFromPyObject(PyObject *obj, rpmtd *td) *td = &(((rpmtdObject *)obj)->td); return 1; } else { - PyErr_SetString(PyExc_TypeError, "rpm.td type expected"); + PyErr_SetString(PyExc_TypeError, PYTHON_MODULENAME".td type expected"); return 0; } } |