diff --git a/setup_dotfiles.py b/setup_dotfiles.py index a4a5bcf..4a81b26 100755 --- a/setup_dotfiles.py +++ b/setup_dotfiles.py @@ -43,7 +43,7 @@ def check_and_remove(source, destination, force=False): os.remove(destination) # Force mode diseabled, error out else: - raise OSError(f"{destination} exists as a file and --force not provided") + raise OSError(destination + " exists as a file and --force not provided") # File doesn't exists or undefined "thing" happened, return True to try to # write, and if something goes wrong, we'll see the OSError @@ -78,7 +78,7 @@ def install_dotfiles(source_dir, dest_dir, exclusions, force=False): # Check for and remove the destination file if it exists # If a removal occurs, catch True and deploy the symlink if check_and_remove(source, destination, force): - print(f"Symlinking {source} => {destination}") + print("Symlinking " + source + " => " + destination) os.symlink(source, destination)