summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-23 16:49:09 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-25 15:43:52 +0100
commitb368f57f5f72254bf4e24bf9a73e9a220ac6e75c (patch)
tree633d7dd46657e507a1cc1534c84e27d8e3f4e419
parent5a187a1e897196d2ba3d07785dca3e024594604e (diff)
downloadbuildstream-b368f57f5f72254bf4e24bf9a73e9a220ac6e75c.tar.gz
utils.py: Group stat imports
The imports of `stat` and `S_ISDIR` from `stat` should be grouped to satisfy pylint. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-rw-r--r--buildstream/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/utils.py b/buildstream/utils.py
index 949b97b70..0bddb287d 100644
--- a/buildstream/utils.py
+++ b/buildstream/utils.py
@@ -29,13 +29,13 @@ import re
import shutil
import signal
import stat
+from stat import S_ISDIR
import string
import subprocess
import tempfile
import itertools
import functools
from contextlib import contextmanager
-from stat import S_ISDIR
import psutil