diff options
author | Daniel Playle <dplayle@bloomberg.net> | 2018-07-02 15:29:48 +0100 |
---|---|---|
committer | Daniel Playle <dplayle@bloomberg.net> | 2018-07-02 15:54:29 +0100 |
commit | 94ede33b1c36a35f5c8fbaa8216d0455c0c43123 (patch) | |
tree | af7beccef5292a194b733dd9cf3edfdcceeb5d09 | |
parent | aaf52d036c67a45356fc9f2eb7aa21542bf39782 (diff) | |
download | buildstream-dp0/453/import-order.tar.gz |
Reorder app.py importsdp0/453/import-order
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.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/buildstream/_frontend/app.py b/buildstream/_frontend/app.py index 4675b0eb0..e2f2d0e62 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 |