On 2017-01-12 18:32, Peter Otten wrote:
> Why did you add an explicit isdir() check? My understanding is that
> the names in dirs are known to be directories.

Ah, right.  The code I had laying around that did something similar
but processes both the dirs and the files, so when the OP asked for
just dirs, I ended up with both belt-and-suspenders changes to it.

So that isdir() check could readily be removed.

-tkc


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to