summaryrefslogtreecommitdiff
path: root/src/backend/autoremove.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-11 05:32:19 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-11 05:32:19 +0000
commita9d87ee5bd0c98b6daae9ddf307c634da9c35551 (patch)
tree3ae25a65b1511d7a9368fa21b4779a6880a132b7 /src/backend/autoremove.py
parent4edf9a7f554f183ccc34b0e57e734a2cbd6f5b9d (diff)
run autopep8 on the code
Diffstat (limited to 'src/backend/autoremove.py')
-rw-r--r--src/backend/autoremove.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/autoremove.py b/src/backend/autoremove.py
index 7ea7fb4..642ae40 100644
--- a/src/backend/autoremove.py
+++ b/src/backend/autoremove.py
@@ -12,8 +12,7 @@ import sisyphus.syncdb
def start():
if sisyphus.checkenv.root():
- p_exe = subprocess.Popen(
- ['emerge', '--quiet', '--depclean', '--ask'])
+ p_exe = subprocess.Popen(['emerge', '--quiet', '--depclean', '--ask'])
p_exe.wait()
sisyphus.syncdb.lcl_tbl()
else:
@@ -23,8 +22,8 @@ def start():
def xstart():
- p_exe = subprocess.Popen(
- ['emerge', '--depclean'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ p_exe = subprocess.Popen(['emerge', '--depclean'],
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user
atexit.register(sisyphus.killemerge.start, p_exe)