summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-12-15 15:06:07 +0100
committerJose M. Guisado <jguisado@soleta.eu>2022-12-15 17:46:47 +0100
commitf08c9618ea957b9a4de7d4d7e684320e94506131 (patch)
tree591a5bc13820eefdb3c60d21c92cd87d2cefbcce
parent5ec9ec73c8189023256a6d737600382f9e3d288a (diff)
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
-rw-r--r--fdisk.c6
1 files changed, 1 insertions, 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)