aboutsummaryrefslogtreecommitdiffstats
path: root/backend/magiback
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2020-10-17 10:18:02 +0200
committerPapoteur <papoteur@mageia.org>2020-10-17 12:42:56 +0200
commit6fd912ea3a1cf98005ec6f4f5f71685d65308770 (patch)
treeb47348d5c55f5e45d48886426c896eb73c26a00f /backend/magiback
parentf2736c1d1f1bb972e7742e9b65ccd03d1b73be58 (diff)
downloadisodumper-6fd912ea3a1cf98005ec6f4f5f71685d65308770.tar
isodumper-6fd912ea3a1cf98005ec6f4f5f71685d65308770.tar.gz
isodumper-6fd912ea3a1cf98005ec6f4f5f71685d65308770.tar.bz2
isodumper-6fd912ea3a1cf98005ec6f4f5f71685d65308770.tar.xz
isodumper-6fd912ea3a1cf98005ec6f4f5f71685d65308770.zip
Use udisks2 to unmount partitions
Unmount encrypted partitions too Add complete traceback when error occur in event loop
Diffstat (limited to 'backend/magiback')
-rwxr-xr-xbackend/magiback8
1 files changed, 0 insertions, 8 deletions
diff --git a/backend/magiback b/backend/magiback
index 7deab33..7485773 100755
--- a/backend/magiback
+++ b/backend/magiback
@@ -23,11 +23,6 @@ class Isodumper(raw_write.Dumper):
<arg type='s' name='target' direction='in'/>
<arg type='x' name='size' direction='in'/>
</method>
- <method name='do_unmount'>
- <arg type='s' name='device' direction='in'/>
- <arg type='b' name='success' direction='out'/>
- <arg type='s' name='message' direction='out'/>
- </method>
<method name='do_format'>
<arg type='s' name='device' direction='in'/>
<arg type='s' name='format' direction='in'/>
@@ -127,9 +122,6 @@ class Isodumper(raw_write.Dumper):
def progress(self):
return self._progress
- def do_unmount(self, device):
- return self._do_unmount([device])
-
def get_sum(self, source):
self.key_thread = threading.Thread(target=self._get_sum, args=(source,))
self.key_thread.start()