actions: Fix issue with docstring causing issues with Sphnix

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2019-10-26 13:47:11 -07:00 committed by James Valleroy
parent 80498919fb
commit 1b218666f4
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -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 = []