Don't return suffixes

This isn't useful.
The caller can create a `Path` to get this instead.
This commit is contained in:
tcely 2024-12-19 16:46:11 -05:00 committed by GitHub
parent 02f1d08570
commit 0e18d6d2bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,7 @@ def directory_and_stem(arg_path):
while stem.suffixes and '' != stem.suffix:
stem = Path(stem.stem)
stem = str(stem)
return (filepath.parent, stem, filepath.suffixes,)
return (filepath.parent, stem,)
def mkdir_p(arg_path, mode=0o777):