diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-08-18 17:28:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-19 18:05:51 +0100 |
commit | 98dfa27050e03fa6884b988f535168bbb6a80470 (patch) | |
tree | df3e0768dc17ab86c2d11489ade0b81ca73aaba5 /bitbake/lib/toaster/bldcontrol | |
parent | c8df84777bc5283f54f71e5e76fafb5e766a1009 (diff) | |
download | poky-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')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py | 3 |
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 | |||
4 | from bldcontrol.models import BuildRequest, BuildEnvironment, BRError | 4 | from bldcontrol.models import BuildRequest, BuildEnvironment, BRError |
5 | from orm.models import ToasterSetting, Build | 5 | from orm.models import ToasterSetting, Build |
6 | import os | 6 | import os |
7 | import sys, traceback | ||
7 | 8 | ||
8 | def DN(path): | 9 | def 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() |