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:47:46 +0000 |
commit | 999e980ee1a58d16f33ef6c0e41aecdcd0206f39 (patch) | |
tree | ab1fcbf8fc5c9b49dfc89cb9d2ce8dc35c4753d5 /lib/toaster/orm/management | |
parent | c19baa8c19ea8ab9b9b64fd30298d8764c6fd2cd (diff) | |
download | bitbake-contrib-999e980ee1a58d16f33ef6c0e41aecdcd0206f39.tar.gz |
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
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/orm/management')
-rw-r--r-- | lib/toaster/orm/management/commands/lsupdates.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/toaster/orm/management/commands/lsupdates.py b/lib/toaster/orm/management/commands/lsupdates.py index 688918e68..68c6c423d 100644 --- a/lib/toaster/orm/management/commands/lsupdates.py +++ b/lib/toaster/orm/management/commands/lsupdates.py @@ -90,7 +90,6 @@ class Command(NoArgsCommand): from urlparse import urlparse proxy_settings = os.environ.get("http_proxy", None) - oe_core_layer = 'openembedded-core' def _get_json_response(apiurl=DEFAULT_LAYERINDEX_SERVER): http_progress = Spinner() |