Skip to content

Conversation

althonos
Copy link
Member

Type of changes

  • Bug fix

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @PyFilesystem/maintainers may be pedantic in the code review.

Description

fs.errors.PathError was missing an exc argument, so it couldn't be used in fs.error_tools.convert_os_errors. This prevented the conversion of OSError(errno.ENAMETOOLONG) errors to PathError. Closes #453.

@althonos althonos added the bug label Mar 27, 2021
@althonos althonos added this to the v2.4.13 milestone Mar 27, 2021
@coveralls
Copy link

coveralls commented Mar 27, 2021

Coverage Status

Coverage increased (+0.0009%) to 95.363% when pulling eebb4a2 on fix-patherror into 60b0a63 on master.

@althonos althonos merged commit b88f432 into master Mar 27, 2021
@althonos althonos deleted the fix-patherror branch March 27, 2021 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants