Bug#535789: reportbug crash when trying to detach a not attached file

2009-07-11 Thread Sandro Tosi
On Sat, Jul 11, 2009 at 19:17, Rodrigo Campos wrote: > I like more the fix that lets you change your mind and not detach anything > also :) > > Sorry, but I have one question about the fix you did. You used: > >        if filetodetach != '' and filetodetach in attachments > > to avoid the crash. >

Bug#535789: reportbug crash when trying to detach a not attached file

2009-07-11 Thread Rodrigo Campos
I like more the fix that lets you change your mind and not detach anything also :) Sorry, but I have one question about the fix you did. You used: if filetodetach != '' and filetodetach in attachments to avoid the crash. But if I'm not wrong "filetodetach == ''" could not happend (becau

Bug#535789: reportbug crash when trying to detach a not attached file

2009-07-11 Thread Sandro Tosi
On Tue, Jul 7, 2009 at 22:39, chaica wrote: > tags 535789 confirmed > thanks > > Hi, > > This bug is confirmed. Removing "empty_ok=True" seems a good way to get > rid of this bug. I prefer to allow ENTER to exit the menu (if you entered the menu by error or changed your mind, there should be an ex

Bug#535789: reportbug crash when trying to detach a not attached file

2009-07-07 Thread chaica
tags 535789 confirmed thanks Hi, This bug is confirmed. Removing "empty_ok=True" seems a good way to get rid of this bug. Bye, Carl Chenet > Package: reportbug > Version: 4.4 > Severity: normal > Tags: patch > > > I was reporting a bug with reportbug, and click 'd' to detach a file. Then, I >

Bug#535789: reportbug crash when trying to detach a not attached file

2009-07-04 Thread Rodrigo Campos
Package: reportbug Version: 4.4 Severity: normal Tags: patch I was reporting a bug with reportbug, and click 'd' to detach a file. Then, I regret and hit enter (without writing anything) and reportbug crash with: Select the file: Traceback (most recent call last): File "/usr/bin/reportbug", li