summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-08-18 17:28:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-19 18:05:51 +0100
commit98dfa27050e03fa6884b988f535168bbb6a80470 (patch)
treedf3e0768dc17ab86c2d11489ade0b81ca73aaba5 /bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py
parentc8df84777bc5283f54f71e5e76fafb5e766a1009 (diff)
downloadpoky-98dfa27050e03fa6884b988f535168bbb6a80470.tar.gz
bitbake: toaster: pylint fixes
This patch fixes imports, default parameters to functions, incorrect overloading and exception handling issues highlighted by pylint. There are no functional changes. (Bitbake rev: 066e096b80dcb0e93e1a088acf5d914184361769) 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/management/commands/checksettings.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py b/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py
index 9a508b43f4..508335f486 100644
--- a/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py
+++ b/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py
@@ -4,6 +4,7 @@ from bldcontrol.bbcontroller import getBuildEnvironmentController, ShellCmdExcep
4from bldcontrol.models import BuildRequest, BuildEnvironment, BRError 4from bldcontrol.models import BuildRequest, BuildEnvironment, BRError
5from orm.models import ToasterSetting, Build 5from orm.models import ToasterSetting, Build
6import os 6import os
7import sys, traceback
7 8
8def DN(path): 9def DN(path):
9 if path is None: 10 if path is None:
@@ -228,7 +229,7 @@ class Command(NoArgsCommand):
228 229
229 230
230 231
231 def handle(self, **options): 232 def handle_noargs(self, **options):
232 retval = 0 233 retval = 0
233 retval += self._verify_artifact_storage_dir() 234 retval += self._verify_artifact_storage_dir()
234 retval += self._verify_build_environment() 235 retval += self._verify_build_environment()