Commit 947c809c authored by Julian Andres Klode's avatar Julian Andres Klode
Browse files

Also do locale magic for PkgRecordsGetShortDesc

Gbp-Dch: ignore
parent 41d866cc
......@@ -123,7 +123,7 @@ static PyObject *PkgRecordsGetMaintainer(PyObject *Self,void*) {
}
static PyObject *PkgRecordsGetShortDesc(PyObject *Self,void*) {
PkgRecordsStruct &Struct = GetStruct(Self,"ShortDesc");
return (Struct.Last != 0) ? CppPyString(Struct.Last->ShortDesc()) : 0;
return (Struct.Last != 0) ? CppPyLocaleString(Struct.Last->ShortDesc()) : 0;
}
static PyObject *PkgRecordsGetLongDesc(PyObject *Self,void*) {
PkgRecordsStruct &Struct = GetStruct(Self,"LongDesc");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment