Commit Graph

5 Commits (ad5bd3e43114e01003c4c9209f350a907ee97443)

Author SHA1 Message Date
Göktürk Yüksek 938d31412e
scripts/usb.py: use device.get() instead of device[''] to handle KeyError
The devices returned by list_devices() may not always have all the
properties and referencing them raises a KeyError. Use the .get()
interface as suggested by the upstream[0] to avoid such exceptions.

[0] http://pyudev.readthedocs.io/en/latest/guide.html#id6
8 years ago
mbusb be4c8d9763 update to version 8.4.0 8 years ago
mbusb 890c266342 Inform user about the requirement of admin privilege. Added option to list all drives (including fixed). Fixed the bug 'maximum 2047 mb allowed'. 8 years ago
mbusb 5aaa28c4b2 Update files to version 8.1.0 8 years ago
mbusb 2c33ed73de Upgrading to version 8.0.0 8 years ago