[Calypso] [PATCH] Don't throw error messages when subdirectories are scanned

Guido G√ľnther agx at sigxcpu.org
Fri Apr 8 15:52:58 PDT 2016


On Sun, Feb 28, 2016 at 07:14:18PM +0100, chrysn wrote:
> Access to the root directory or any other non-leaf directory raises a
> 
> IOError: [Errno 21] Is a directory: '.../.config/calypso/calendars/...'
> 
> which is caught and logged as an exception, but still shows even though
> just a file-oriented function is called in scan_dir with a subdirectory.
> Instead, now, a debug-level log message is emitted on directories that
> they are ignored for the purpose of scan_dir.

Pushed now. I had to tweak this slightly since the patch got mangled and
wouldn' "git am" due to a linebreak after 80 chars.

Cheers,
 -- Guido


More information about the Calypso mailing list