This is already fixed in Vivid and Utopic:
$ bzr log -r446 -p ------------------------------------------------------------ revno: 446 committer: Dimitri John Ledkov <email address hidden> branch nick: usb-creator timestamp: Tue 2014-07-22 18:37:18 +0100 message: Correctly detect partition-table less parent devices. diff: === modified file 'bin/usb-creator-helper' --- bin/usb-creator-helper 2014-07-20 21:47:41 +0000 +++ bin/usb-creator-helper 2014-07-22 17:37:18 +0000 @@ -46,6 +46,8 @@ if obj.get_partition_table(): return obj partition = obj.get_partition() + if not partition: + return obj parent = partition.get_cached_property('Table').get_string() return udisks.get_object(parent)
=== modified file 'debian/changelog' --- debian/changelog 2014-07-20 21:47:49 +0000 +++ debian/changelog 2014-07-22 17:37:18 +0000 @@ -1,3 +1,9 @@ +usb-creator (0.2.60) UNRELEASED; urgency=medium + + * Correctly detect partition-table less parent devices. + + -- Dimitri John Ledkov <email address hidden> Tue, 22 Jul 2014 18:37:00 +0100
This is already fixed in Vivid and Utopic:
$ bzr log -r446 -p ------- ------- ------- ------- ------- ------- ------- ---- creator- helper' creator- helper 2014-07-20 21:47:41 +0000 creator- helper 2014-07-22 17:37:18 +0000 partition_ table() : get_cached_ property( 'Table' ).get_string( ) get_object( parent)
-------
revno: 446
committer: Dimitri John Ledkov <email address hidden>
branch nick: usb-creator
timestamp: Tue 2014-07-22 18:37:18 +0100
message:
Correctly detect partition-table less parent devices.
diff:
=== modified file 'bin/usb-
--- bin/usb-
+++ bin/usb-
@@ -46,6 +46,8 @@
if obj.get_
return obj
partition = obj.get_partition()
+ if not partition:
+ return obj
parent = partition.
return udisks.
=== modified file 'debian/changelog'
--- debian/changelog 2014-07-20 21:47:49 +0000
+++ debian/changelog 2014-07-22 17:37:18 +0000
@@ -1,3 +1,9 @@
+usb-creator (0.2.60) UNRELEASED; urgency=medium
+
+ * Correctly detect partition-table less parent devices.
+
+ -- Dimitri John Ledkov <email address hidden> Tue, 22 Jul 2014 18:37:00 +0100