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.
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 previouslyos.path.abspath(None)
would've raised an exception.