Comment 2 for bug 90819

Revision history for this message
Wouter van Heyst (larstiq) wrote :

With bzr st README, os.listdir() is getting called on a file and not a directory. On Windows that raises
  WindowsError(267, 'The directory name is invalid')

instead of the expected OSError. The attached patch is probably not the right way to catch it,
but it does work for me.