Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bodsch committed Nov 27, 2021
1 parent 45c1f58 commit 6f6828d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions library/aur.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import json
import tarfile
import os
import pwd
import grp
# import pwd
# import grp
import os.path
import urllib.parse

Expand All @@ -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)
Expand Down

0 comments on commit 6f6828d

Please sign in to comment.