This small change should the wizard more user friendly in such
situations.

[EMAIL PROTECTED]:/usr/share/pyshared/usbcreator$ diff backend.py 
backend_orig.py 
449,458c449,450
< 
<         num = None
<         try:
<             num = re.match('.*([0-9]+)$', tmp).groups()[0]
<             self.log('Marking partition %s as active.' % num)
<         except:
<             message = 'device %s does not have a valid partition' % device
<             self.log(message)
<             self.frontend.notify(message)            
< 
---
>         num = re.match('.*([0-9]+)$', tmp).groups()[0]
>         self.log('Marking partition %s as active.' % num)

regards,

- mn

-- 
Dell Lattitude with 8.10 USB live crash when using usb-creator targetting 
another USB key
https://bugs.launchpad.net/bugs/291706
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to