diff options
author | Chandan Singh <chandan.devel@gmail.com> | 2018-10-25 15:04:00 +0000 |
---|---|---|
committer | Chandan Singh <chandan.devel@gmail.com> | 2018-10-25 15:04:00 +0000 |
commit | 1c1d14e7111edf244f1c93b2f0a2ba5088b6bffd (patch) | |
tree | 831b34958c79f6aff2c023e389912826ee90548a /buildstream/_platform/linux.py | |
parent | 2831762279ebee447bb4c7a80d56a21696a9fe70 (diff) | |
parent | f6bc25dd3010244c0fb2537b7363742607f74088 (diff) | |
download | buildstream-1c1d14e7111edf244f1c93b2f0a2ba5088b6bffd.tar.gz |
Merge branch 'danielsilverstone-ct/fix-lint-issues' into 'master'
Fix lint issues
See merge request BuildStream/buildstream!892
Diffstat (limited to 'buildstream/_platform/linux.py')
-rw-r--r-- | buildstream/_platform/linux.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/buildstream/_platform/linux.py b/buildstream/_platform/linux.py index 09db19f2d..6e488472f 100644 --- a/buildstream/_platform/linux.py +++ b/buildstream/_platform/linux.py @@ -22,7 +22,6 @@ import subprocess from .. import _site from .. import utils -from .._message import Message, MessageType from ..sandbox import SandboxDummy from . import Platform @@ -112,8 +111,4 @@ class Linux(Platform): except subprocess.CalledProcessError: output = '' - if output == 'root': - return True - - else: - return False + return output == 'root' |