diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-11-24 11:19:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-30 15:48:09 +0000 |
commit | 310a9e5d3564e9b07bb32e3d7b3cc94e32421968 (patch) | |
tree | 780ba1c0d7e5e937502498559e6291dc57911714 /bitbake/lib/toaster/orm | |
parent | ddaac5e4e3ebe71cb279a33a6585b3e8a8790e55 (diff) | |
download | poky-310a9e5d3564e9b07bb32e3d7b3cc94e32421968.tar.gz |
bitbake: toaster: runbuilds Write the pidfile in python rather than shell script
Write the pid file out in the start up of this management command. This
ensures this has happened instead of relying on the shell command having
been run which may or may not be the case. This also makes it simpler for
testing.
Couple of clean ups of runbuilds as identified by pyflake
(Bitbake rev: 999e980ee1a58d16f33ef6c0e41aecdcd0206f39)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm')
-rw-r--r-- | bitbake/lib/toaster/orm/management/commands/lsupdates.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/management/commands/lsupdates.py b/bitbake/lib/toaster/orm/management/commands/lsupdates.py index 688918e68c..68c6c423d8 100644 --- a/bitbake/lib/toaster/orm/management/commands/lsupdates.py +++ b/bitbake/lib/toaster/orm/management/commands/lsupdates.py | |||
@@ -90,7 +90,6 @@ class Command(NoArgsCommand): | |||
90 | from urlparse import urlparse | 90 | from urlparse import urlparse |
91 | 91 | ||
92 | proxy_settings = os.environ.get("http_proxy", None) | 92 | proxy_settings = os.environ.get("http_proxy", None) |
93 | oe_core_layer = 'openembedded-core' | ||
94 | 93 | ||
95 | def _get_json_response(apiurl=DEFAULT_LAYERINDEX_SERVER): | 94 | def _get_json_response(apiurl=DEFAULT_LAYERINDEX_SERVER): |
96 | http_progress = Spinner() | 95 | http_progress = Spinner() |