plugins/python/example_*.py: document returning error string
This commit is contained in:

committed by
Todd C. Miller

parent
9c4f076f85
commit
bbbcb39334
@@ -1,7 +1,7 @@
|
||||
Example sudo python plugin will log to /some/not/writable/directory/sudo.log
|
||||
Traceback:
|
||||
File "SRC_DIR/example_io_plugin.py", line 61, in __init__
|
||||
File "SRC_DIR/example_io_plugin.py", line 67, in __init__
|
||||
self._open_log_file(path.join(log_path, "sudo.log"))
|
||||
File "SRC_DIR/example_io_plugin.py", line 134, in _open_log_file
|
||||
File "SRC_DIR/example_io_plugin.py", line 140, in _open_log_file
|
||||
self._log_file = open(log_path, "a")
|
||||
|
||||
|
Reference in New Issue
Block a user