fdisk: remove unuseful comment

Some of python-libfdisk is inspired by the python bindings of libmount
(from util-linux project).

Remove a comment from pylibmount that slipped into python-libfdisk
master
Jose M. Guisado 2022-12-15 15:06:07 +01:00
parent 5ec9ec73c8
commit f08c9618ea
1 changed files with 1 additions and 5 deletions

View File

@ -37,11 +37,7 @@ PyObject *PyObjectResultStr(const char *s)
{
PyObject *result;
if (!s)
/* TODO: maybe lie about it and return "":
* which would allow for
* fs = libmount.Fs()
* fs.comment += "comment"
return Py_BuildValue("s", ""); */
/* XXX: return Py_BuildValue("s", ""); */
Py_RETURN_NONE;
result = Py_BuildValue("s", s);
if (!result)