Go to file
Jose M. Guisado 5ec9ec73c8 fdisk: add set_PyErr_from_rc
python-libfdisk raises Python exceptions when the libfdisk reports an
error when executing some function. libfdisk returns negative
errno values when reporting some error.

Adds utility function to set PyErr string based on the strerror of
a given errno code. Useful when raising Python exceptions.
2022-12-15 17:46:42 +01:00
.gitignore Initial commit 2022-04-06 12:56:11 +02:00
COPYING Add COPYING and license headers 2022-04-07 17:03:34 +02:00
MANIFEST.in Add MANIFEST.in 2022-04-06 15:40:31 +02:00
context.c fdisk: add set_PyErr_from_rc 2022-12-15 17:46:42 +01:00
fdisk.c fdisk: add set_PyErr_from_rc 2022-12-15 17:46:42 +01:00
fdisk.h fdisk: add set_PyErr_from_rc 2022-12-15 17:46:42 +01:00
label.c coding style: line breaks 2022-12-15 17:37:07 +01:00
partition.c fdisk: add set_PyErr_from_rc 2022-12-15 17:46:42 +01:00
parttype.c coding style: line breaks 2022-12-15 17:37:07 +01:00
setup.py parttype: add parttype class and functions 2022-12-15 17:37:07 +01:00