summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Playle <dplayle@bloomberg.net>2018-07-02 15:29:48 +0100
committerJürg Billeter <j@bitron.ch>2018-07-18 12:08:24 +0000
commit3814905a3f9a0c6c2027c74c2b426feefb365479 (patch)
tree0dca63bf2d0b272fbb24873a67c1925f5fa95566
parent26b9f6fae96c1a5cf1abee43a5bf79c3591319b0 (diff)
downloadbuildstream-3814905a3f9a0c6c2027c74c2b426feefb365479.tar.gz
Reorder app.py imports1.3.0
When testing locally on some systems, it appears that pylint fails on the order of imports for `buildstream/_frontend/app.py`. This commit changes the order of these imports. This commit addresses issue !453.
-rw-r--r--buildstream/_frontend/app.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/buildstream/_frontend/app.py b/buildstream/_frontend/app.py
index 3cf2f5180..c8f1f435d 100644
--- a/buildstream/_frontend/app.py
+++ b/buildstream/_frontend/app.py
@@ -17,17 +17,16 @@
# Authors:
# Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>
+from contextlib import contextmanager
import os
import sys
import resource
import traceback
import datetime
from textwrap import TextWrapper
-from contextlib import contextmanager
-from blessings import Terminal
-
import click
from click import UsageError
+from blessings import Terminal
# Import buildstream public symbols
from .. import Scope