aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/isodumper.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 60345ed..6660e85 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -169,10 +169,8 @@ class UDisks2(object):
for block in blocks:
if (self.SERVICE + '.Partition' in objects[block['path']]): # we skip non partition blocks
# Table should be something like '/org/freedesktop/UDisks2/block_devices/sdb'
- print(objects[block['path']][self.SERVICE + '.Block']['Device'], objects[block['path']][self.SERVICE + '.Partition']['Table'],target)
if objects[block['path']][self.SERVICE + '.Partition']['Table'].split('/')[-1] == target:
partition = objects[block['path']][self.SERVICE + '.Block']
- print(partition['IdLabel'])
partitions.append( {'device': bytes(partition['Device']).decode("UTF-8", "replace").strip("\0"),
'label': partition['IdLabel'],
'type': partition['IdType']})