aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-08-18 07:44:57 +0200
committerPapoteur <papoteur@mageia.org>2019-08-18 07:44:57 +0200
commit03b917c1fb49484f64f5a1352f2214979d06a40d (patch)
treed73bdb997f0e961e94a911323eb6ee0aac095691 /lib
parent5cef3e1c918d9bbe529048cec4cf3fe023dd39f5 (diff)
downloadisodumper-03b917c1fb49484f64f5a1352f2214979d06a40d.tar
isodumper-03b917c1fb49484f64f5a1352f2214979d06a40d.tar.gz
isodumper-03b917c1fb49484f64f5a1352f2214979d06a40d.tar.bz2
isodumper-03b917c1fb49484f64f5a1352f2214979d06a40d.tar.xz
isodumper-03b917c1fb49484f64f5a1352f2214979d06a40d.zip
Cleaning
Diffstat (limited to 'lib')
-rwxr-xr-xlib/isodumper.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index f044191..6e036ac 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -99,24 +99,6 @@ class UDisks2(object):
item.append(path)
item.append(size)
list.append(item)
- #for dev in devs:
- #dev_obj =objects[dev['path']][self.DRIVE]
- #if (dev_obj['ConnectionBus'] == 'usb' or dev_obj['ConnectionBus'] == 'sdio') and \
- #(dev_obj['Removable'] == 1 or dev_obj['MediaRemovable'] == 1 ):
- #item=[]
- #vend = dev_obj['Vendor']
- #name = dev_obj['Model']
- #for block in blocks:
- #if dev['path'] == objects[block['path']][self.BLOCK]['Drive']:
- #dev_name = block['path'].split('/')[-1]
- #path = ''.join([i for i in dev_name if not i.isdigit()])
- #path = '/dev/' + path
- #break
- #size = dev_obj['Size']
- #item.append(vend+" "+name)
- #item.append(path)
- #item.append(size)
- #
return list
class Info(object):