From 6f6828d71c6649b5f6d9833dff8c7761347675ea Mon Sep 17 00:00:00 2001 From: Bodo Schulz Date: Sat, 27 Nov 2021 15:28:22 +0100 Subject: [PATCH] fix linting --- library/aur.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/library/aur.py b/library/aur.py index 8524100..7936bfb 100644 --- a/library/aur.py +++ b/library/aur.py @@ -14,8 +14,8 @@ import json import tarfile import os -import pwd -import grp +# import pwd +# import grp import os.path import urllib.parse @@ -40,12 +40,12 @@ def __init__(self, module): self.upgrade = module.params.get("upgrade") self.aur_only = module.params.get("aur_only") - user = pwd.getpwuid(os.geteuid()) - owner = user.pw_name - uid = user.pw_uid - gid = user.pw_gid - group = grp.getgrgid(gid).gr_name - home = str(Path.home()) + # user = pwd.getpwuid(os.geteuid()) + # owner = user.pw_name + # uid = user.pw_uid + # gid = user.pw_gid + # group = grp.getgrgid(gid).gr_name + # home = str(Path.home()) self.pacman_binary = self.module.get_bin_path('pacman', True) self.git_binary = self.module.get_bin_path('git', True)