[parted-devel] Changing the native_type attribute

George Goh ggoh at osgdc.org
Tue Jan 29 13:28:21 UTC 2008


Hi,

Is there a way to change the native_type attribute of the PedPartition
object? I get an error when I try to change the type.

e.g.,:
>>> p.native_type = 0x83
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
TypeError: attribute 'native_type' of 'PedPartition' objects is not
writeable

Thank you,
George





More information about the parted-devel mailing list