From 1b218666f4276caae0c8d43b8609749c5c880de7 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sat, 26 Oct 2019 13:47:11 -0700 Subject: [PATCH] actions: Fix issue with docstring causing issues with Sphnix Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/actions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plinth/actions.py b/plinth/actions.py index 1c4aefd7d..94b4e4255 100644 --- a/plinth/actions.py +++ b/plinth/actions.py @@ -134,11 +134,16 @@ def _run(action, options=None, input=None, run_in_background=False, """Safely run a specific action as a normal user or root. Actions are pulled from the actions directory. + - options are added to the action command. + - input: data (as bytes) that will be sent to the action command's stdin. + - run_in_background: run asynchronously or wait for the command to complete. + - run_as_root: execute the command through sudo. + """ if options is None: options = []