summaryrefslogtreecommitdiff
path: root/src/backend/autoremove.py
diff options
context:
space:
mode:
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)