diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-05 18:53:05 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-05 18:53:05 +0900 |
commit | ed62ffd5229e90893ed5854dbc60368bcb8ddf9f (patch) | |
tree | 3a48bb79429517120d485d5ff18fa486a327c16d | |
parent | 7f365869aa377841b8111662bb48dd7b01bc614f (diff) | |
download | buildstream-ed62ffd5229e90893ed5854dbc60368bcb8ddf9f.tar.gz |
main.py, widget.py: Moving some imports from main -> widget
When we split up the frontend, these imports seem to have been left behind.
-rwxr-xr-x | buildstream/_frontend/main.py | 2 | ||||
-rw-r--r-- | buildstream/_frontend/widget.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/buildstream/_frontend/main.py b/buildstream/_frontend/main.py index 54171b7ec..0224ce50e 100755 --- a/buildstream/_frontend/main.py +++ b/buildstream/_frontend/main.py @@ -22,7 +22,6 @@ import sys import click import pkg_resources # From setuptools from contextlib import contextmanager -from ruamel import yaml from blessings import Terminal # Import buildstream public symbols @@ -33,7 +32,6 @@ from ..exceptions import _BstError from .._message import MessageType, unconditional_messages from .._pipeline import Pipeline, PipelineError from .._scheduler import Scheduler -from .. import utils, _yaml from .._profile import Topics, profile_start, profile_end # Import frontend assets diff --git a/buildstream/_frontend/widget.py b/buildstream/_frontend/widget.py index 58ee87867..a9f574d32 100644 --- a/buildstream/_frontend/widget.py +++ b/buildstream/_frontend/widget.py @@ -22,8 +22,9 @@ import subprocess import datetime import pkg_resources from collections import OrderedDict +from ruamel import yaml -from .. import utils +from .. import utils, _yaml from ..plugin import _plugin_lookup from .._message import MessageType from .. import ImplError |