Use DATA as a placeholder for file-write operations

This commit is contained in:
Andrea Cardaci
2018-08-20 14:35:43 +02:00
parent 866ca2e404
commit d4b50275bb
29 changed files with 36 additions and 36 deletions

View File

@@ -25,7 +25,7 @@ functions:
export LFILE=file_to_save
python2 -c 'import urllib as u,os.environ as e;u.urlretrieve(e["URL"], e["LFILE"])'
file-write:
- code: python2 -c 'open("file_to_write","w+").write("data")'
- code: python2 -c 'open("file_to_write","w+").write("DATA")'
file-read:
- code: python2 -c 'open("file_to_read").read()'
load-library: