diff --git a/pupy/packages/windows/all/fsutils_ext.py b/pupy/packages/windows/all/fsutils_ext.py index 56d581ef..e14a4fd9 100644 --- a/pupy/packages/windows/all/fsutils_ext.py +++ b/pupy/packages/windows/all/fsutils_ext.py @@ -25,7 +25,7 @@ def getfilesec(filepath): try: if islink(filepath): link = readlink(filepath) - except (WindowsError, OSError, IOError): + except (WindowsError, ValueError, OSError, IOError): pass mode = mode_to_letter(filestat.st_mode)