diff options
author | bionel <ionel.busuioc@gmail.com> | 2020-08-18 16:32:47 +0300 |
---|---|---|
committer | bionel <ionel.busuioc@gmail.com> | 2020-08-18 16:32:47 +0300 |
commit | 61bae3efdc42fc1d748e4d60d24ff45e885ea212 (patch) | |
tree | 01e002aa888ca2f179365672690d565cd56406fa /src/backend/uninstall.py | |
parent | 9ea619cd8cf630016ac2e38988bf7e5a86e06559 (diff) |
pythonize check.root :P
Diffstat (limited to 'src/backend/uninstall.py')
-rw-r--r-- | src/backend/uninstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/uninstall.py b/src/backend/uninstall.py index 2537b74..8da7e79 100644 --- a/src/backend/uninstall.py +++ b/src/backend/uninstall.py @@ -6,7 +6,7 @@ import sisyphus.database import sys def start(pkgname): - if sisyphus.check.root() == 0: + if sisyphus.check.root(): portageExec = subprocess.Popen(['emerge', '--quiet', '--depclean', '--ask'] + list(pkgname)) portageExec.wait() sisyphus.database.syncLocal() |