~usb-creator-hackers/usb-creator/trunk

« back to all changes in this revision

Viewing changes to usbcreator/backends/udisks/backend.py

  • Committer: Marc Deslauriers
  • Date: 2019-06-30 14:23:02 UTC
  • Revision ID: marc.deslauriers@canonical.com-20190630142302-86rlemcmbc5s3ijd
Tags: 0.3.6
Unmount device during image operation so a single policykit prompt can
be displayed to the user. (LP: #1832337)

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
            self.manager.disconnect(handle)
167
167
 
168
168
        dev = self.targets[target]['device']
169
 
        self.helper.Unmount(target)
170
169
 
171
170
        Backend.install(self, source, target, device=dev,
172
171
                        allow_system_internal=allow_system_internal)