Open mam8cc opened 5 years ago
If you attempt to run possum with an output file that doesn't exist you get a FileNotFoundError.
possum
FileNotFoundError
$ possum 'my-deploy-bucket' -o deploy.yml ERROR: Failed to load template file! Encountered: FileNotFoundError
Open the file in the w+ mode to create the missing file.
w+
I also removed the t in the mode string because it is the default in 2.7 and 3.* as far as I can tell.
t
2.7
3.*
https://docs.python.org/3/library/functions.html#open
If you attempt to run
possum
with an output file that doesn't exist you get aFileNotFoundError
.Open the file in the
w+
mode to create the missing file.