Merge lp://staging/~yuningdodo/usb-creator/usb-creator.lp1413494v2-update-free-space-after-format into lp://staging/usb-creator

Proposed by Yu Ning
Status: Needs review
Proposed branch: lp://staging/~yuningdodo/usb-creator/usb-creator.lp1413494v2-update-free-space-after-format
Merge into: lp://staging/usb-creator
Diff against target: 44 lines (+20/-0)
1 file modified
usbcreator/backends/udisks/backend.py (+20/-0)
To merge this branch: bzr merge lp://staging/~yuningdodo/usb-creator/usb-creator.lp1413494v2-update-free-space-after-format
Reviewer Review Type Date Requested Status
Brian Murray Pending
usb-creator hackers Pending
Review via email: mp+250258@code.staging.launchpad.net

Description of the change

In usbcreator udisks backend it will try to mount the new partition and calculate the free space in the _udisks_partition_added() callback, however it will always skip the operation since the device is marked as "formatting".

To fix this issue we can keep the new partition in a list and do the job after formatting completed.

To post a comment you must log in.
463. By Yu Ning

Update free space after formatting. (LP: #1413494)

Revision history for this message
Yu Ning (yuningdodo) wrote :

Sorry, I forgot to commit my changes previously, the branch is updated now.

Unmerged revisions

463. By Yu Ning

Update free space after formatting. (LP: #1413494)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: