Hi, I'm using pyparted 1.8.5 and I'm trying to change the native_type attribute of a PedPartition object as follows:
>>> import parted >>> sda = parted.PedDevice.get('/dev/sda') >>> d = parted.PedDisk.new(sda) >>> sda1 = d.get_partition(1) >>> sda1.native_type 131 >>> sda1.native_type = 0x8e Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: attribute 'native_type' of 'PedPartition' objects is not writable Is there any way to change the 'native_type' attribute in pyparted? Sorry if I'm posting in the wrong list (please redirect me to the right one). Thanks. Regards, George Goh _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted