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)