Fix comment and docstring typos

This commit is contained in:
Trysdyn Black 2020-12-06 14:21:36 -08:00
parent 2c7adc1a7c
commit b7929a8a03

View file

@ -25,7 +25,7 @@ def check_and_remove(source, destination, force=False):
If it's a file, we remove it if --force is provided, or error if not.
If we need to re-deply the symlink, return True, else return False.
If we need to re-deploy the symlink, return True, else return False.
"""
pathlib.Path(os.path.dirname(destination)).mkdir(parents=True, exist_ok=True)
@ -45,7 +45,7 @@ def check_and_remove(source, destination, force=False):
else:
raise OSError(destination + " exists as a file and --force not provided")
# File doesn't exists or undefined "thing" happened, return True to try to
# File doesn't exist or undefined "thing" happened, return True to try to
# write, and if something goes wrong, we'll see the OSError
return True