IOError
Ben Escoto
bescoto@stanford.edu
Fri, 18 Jan 2002 09:54:22 -0800
--==_Exmh_-1274961034P
Content-Type: text/plain; charset=us-ascii
>>>>> "cb" == cb921 <cb921@voice.co.za>
>>>>> wrote the following on Fri, 18 Jan 2002 12:57:06 +0200
>> What do you think the right answer would be? Catch all IOErrors
>> that come from reading ordinary files in the source directory,
>> and just skip those with errors (with logging as you suggested)?
cb> It's ugly, I can't think of a better solution, but I'd rather
cb> skip a file than skip the rest of the directory tree.
cb> I can think of waiting for the file to become available, but
cb> that may never happen, and it's ugly. I can think also of
cb> storing a list of unretrievable filenames, and retrying them
cb> once after the rest of the tree has been copied, but that feels
cb> very dirty.
Ok then, I added this to my TODO list... I'll try to put it in the
next version.
--
Ben Escoto
--==_Exmh_-1274961034P
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.5 01/15/2001
iD8DBQE8SGFK+owuOvknOnURAhWaAJ9k17oaoism9uoERkfMWnHh+jjhnACeNscx
xR9c2gbt4ZY6Go1VFprViKU=
=IkBb
-----END PGP SIGNATURE-----
--==_Exmh_-1274961034P--