summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol
diff options
context:
space:
mode:
authorAlexandru Damian <alexandru.damian@intel.com>2015-08-18 17:28:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-19 18:05:55 +0100
commitc9455a7484fa5ead1a90e40b78512867b4285020 (patch)
tree152a114ce3e7e528d3b3c0331c39e737b6bafd7d /bitbake/lib/toaster/bldcontrol
parent07b58c97342d4f2efff80891981e8ee63dd198d0 (diff)
downloadpoky-c9455a7484fa5ead1a90e40b78512867b4285020.tar.gz
bitbake: toaster: fix pylint errors
Prompted by issues discovered during running pylint on the toaster sources, this patch fixes: * missing import in toaster ui * improper call of function in toaster ui (logger.debug) * improper function definitions in bbcontroller * invalid references to objects in bldcontrol.models * proper initialization of object fields in ToasterTables Also inhibiting specific pylint errors in files where the problems are mis-identified. (Bitbake rev: 1c71955c416fb68455f7f70669aba4202c411807) Signed-off-by: Alexandru Damian <alexandru.damian@intel.com> 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/bldcontrol')
-rw-r--r--bitbake/lib/toaster/bldcontrol/bbcontroller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
index 9dd01e0deb..ad70ac8b54 100644
--- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
@@ -177,7 +177,7 @@ class BuildEnvironmentController(object):
177 177
178 return BitbakeController(self.connection) 178 return BitbakeController(self.connection)
179 179
180 def getArtifact(path): 180 def getArtifact(self, path):
181 """ This call returns an artifact identified by the 'path'. How 'path' is interpreted as 181 """ This call returns an artifact identified by the 'path'. How 'path' is interpreted as
182 up to the implementing BEC. The return MUST be a REST URL where a GET will actually return 182 up to the implementing BEC. The return MUST be a REST URL where a GET will actually return
183 the content of the artifact, e.g. for use as a "download link" in a web UI. 183 the content of the artifact, e.g. for use as a "download link" in a web UI.