From f08c9618ea957b9a4de7d4d7e684320e94506131 Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Thu, 15 Dec 2022 15:06:07 +0100 Subject: 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 --- fdisk.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fdisk.c b/fdisk.c index d78e6e2..ada84c9 100644 --- a/fdisk.c +++ b/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) -- cgit v1.2.3-18-g5258