cloudify-cosmo / repex

sed on steroids
Apache License 2.0
10 stars 3 forks source link

When a string is found to replace repex doesn't find the <filename>.tmp #41

Closed limor-gs closed 7 years ago

limor-gs commented 8 years ago

File "/Users/limor/.virtualenvs/python_env/lib/python2.7/site-packages/repex.py", line 479, in handle_file with open(file_to_handle) as f: IOError: [Errno 2] No such file or directory: '/Users/limor/dev/cloudify/test_repos/cloudify-versions/packages-urls/plugin-urls.yaml.tmp'

The '.tmp' is added to the file name as the number of the failure running, e.g: in the third running it searches for plugin-urls.yaml.tmp.tmp.tmp