self.path shouldn't be None by fkloft · Pull Request #167 · LibraryOfCongress/bagit-python
Conversation
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.
Felix Kloft and others added 4 commits
October 15, 2024 17:30I removed a commit altering .gitignore since those are files you'd normally want git clean to remove and we no longer have .tox.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters