summaryrefslogtreecommitdiffstats
path: root/fdisk.h
Commit message (Collapse)AuthorAgeFilesLines
* fdisk.c: add partition module objectJose M. Guisado Gomez2022-04-261-0/+1
| | | | | | | | | | | | | | | | Call Partition_AddModuleObject when initializing the python module. Fixes bug when using the Partition class but the class has not been added to the module via Py_TypeReady. A common error was the type not being ready (missing attributes): >>> for pa in cxt.parts: ... print(pa.partno) ... Traceback (most recent call last): File "<stdin>", line 2, in <module> AttributeError: 'libfdisk.Partition' object has no attribute 'partno'
* Add COPYING and license headersJose M. Guisado Gomez2022-04-071-0/+12
| | | | LGPL2.1 or later.
* Initial commitJose M. Guisado Gomez2022-04-061-0/+40
Add sources, setup.py and .gitignore Build/Install: python setup.py build python setup.py install