Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self.path shouldn't be None #167

Merged
merged 4 commits into from
Oct 15, 2024

Conversation

fkloft
Copy link
Contributor

@fkloft fkloft commented Apr 17, 2023

As mentioned in issue #166, self.path shouldn't be None. This removes the default value of None and removes the check for None. os.path.abspath will remove any trailing slash (except for the directory root /).
This should be backwards compatible, since previously os.path.abspath(None) would've raised an exception.

@acdha acdha force-pushed the issue-166-path-not-none branch from 2f08d7d to ec6fdff Compare October 15, 2024 21:30
@acdha acdha enabled auto-merge (squash) October 15, 2024 21:31
@acdha
Copy link
Member

acdha commented Oct 15, 2024

I removed a commit altering .gitignore since those are files you'd normally want git clean to remove and we no longer have .tox.

@acdha acdha merged commit 56a7900 into LibraryOfCongress:master Oct 15, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants