[Sugar-devel] [PATCH] Wrong exception when copying an entry with no file to a removable device.

2010-06-13 Thread Andrés Ambrois
In that case write() was called with file_path=None by copy() and a TypeError was raised by os.path.exists(). Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/jarabe/journal/model.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [Sugar-devel] [PATCH] Wrong exception when copying an entry with no file to a removable device.

2010-06-13 Thread Michael Stone
On Sun, Jun 13, 2010 at 08:43:19PM -0300, Andrés Ambrois wrote: In that case write() was called with file_path=None by copy() and a TypeError was raised by os.path.exists(). Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/jarabe/journal/model.py |2 +- 1 files changed, 1

Re: [Sugar-devel] [PATCH] Wrong exception when copying an entry with no file to a removable device.

2010-06-13 Thread Gonzalo Odiard
Andres! Gol de Uruguay? Gonzalo On Sun, Jun 13, 2010 at 9:49 PM, Michael Stone mich...@laptop.org wrote: On Sun, Jun 13, 2010 at 08:43:19PM -0300, Andrés Ambrois wrote: In that case write() was called with file_path=None by copy() and a TypeError was raised by os.path.exists().

Re: [Sugar-devel] [PATCH] Wrong exception when copying an entry with no file to a removable device.

2010-06-13 Thread Andrés Ambrois
On Sunday 13 June 2010 09:52:22 pm Gonzalo Odiard wrote: Andres! Gol de Uruguay? For a change! ;) Actually, I don't know if there's a ticket for this. I just ran into it while looking at the code. P.S.: Good thing that Germany - Australia was a little more exciting than the rest of the world