aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-08-14 16:28:44 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2017-08-14 16:28:44 +0900
commit890bbd00a5febd7da840a565d94f13048ae68e21 (patch)
tree37ef690fb7782e389ff638d3500999638777c8c5
parentMaking the subprocess output more readable (diff)
downloadelivepatch-890bbd00a5febd7da840a565d94f13048ae68e21.tar.gz
elivepatch-890bbd00a5febd7da840a565d94f13048ae68e21.tar.bz2
elivepatch-890bbd00a5febd7da840a565d94f13048ae68e21.zip
refactoring command docstring
-rw-r--r--elivepatch_server/resources/livepatch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/elivepatch_server/resources/livepatch.py b/elivepatch_server/resources/livepatch.py
index efa180e..fef5ac8 100644
--- a/elivepatch_server/resources/livepatch.py
+++ b/elivepatch_server/resources/livepatch.py
@@ -97,7 +97,8 @@ def command(bashCommand, kernel_source_dir=None, env=None):
Popen override function
:param bashCommand: List of command arguments to execute
- :param kernel_source_dir: the source directory of the kernel
+ :param kernel_source_dir: String with the directory where the command is executed
+ :param env: Dictionary for setting system environment variable
:return: void
"""
# Inherit the parent environment and update the private copy