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-libfdiskmaster
parent
5ec9ec73c8
commit
f08c9618ea
6
fdisk.c
6
fdisk.c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue