From 5a94c6754db0a77b3ad677a88d79723c38abaea7 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Thu, 1 Aug 2019 08:06:11 +0200 Subject: [PATCH] Comment formatting. --- src/runscript.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/runscript.py b/src/runscript.py index 144b86a..f6a12cd 100644 --- a/src/runscript.py +++ b/src/runscript.py @@ -11,10 +11,14 @@ import subprocess def run_as(uid, gid, groups): - """Closure that changes the current running user and groups. Called before - executing scripts by Subprocess.""" + """ + Closure that changes the current running user and groups. Called before + executing scripts by Subprocess. + """ def set_acc(): - """Change user and groups""" + """ + Change user and groups + """ os.setgroups(groups) os.setgid(gid) os.setuid(uid)