/usr/share/doc/python-doit-doc/examples/tutorial/cmd_actions.py is in python-doit-doc 0.28.0-1+deb9u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | def task_hello():
"""hello cmd """
msg = 3 * "hi! "
return {
'actions': ['echo %s ' % msg + ' > %(targets)s',],
'targets': ["hello.txt"],
}
|