Partition's set_name() not properly exported

Bug #1661297 reported by Łukasz Zemczak on 2017-02-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyparted (Ubuntu)
Undecided
Unassigned

Bug Description

In the python libparted bindings the Partition object exports get_name() through a name property but doesn't actually export the set_name() method along with it. This means that currently setting the name of a partition requires calling the internal PedPartition method like this:

partition._Partition__partition.set_name(name)

...which is rather ugly.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Upstream has prepared a fix for this, it should be part of the next pyparted release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.