diff options
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py b/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py index 2ed994f61f..d11166ef53 100644 --- a/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py +++ b/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py | |||
@@ -1,4 +1,4 @@ | |||
1 | from django.core.management.base import NoArgsCommand, CommandError | 1 | from django.core.management.base import BaseCommand, CommandError |
2 | from django.db import transaction | 2 | from django.db import transaction |
3 | 3 | ||
4 | from django.core.management import call_command | 4 | from django.core.management import call_command |
@@ -18,7 +18,7 @@ def DN(path): | |||
18 | return os.path.dirname(path) | 18 | return os.path.dirname(path) |
19 | 19 | ||
20 | 20 | ||
21 | class Command(NoArgsCommand): | 21 | class Command(BaseCommand): |
22 | args = "" | 22 | args = "" |
23 | help = "Verifies that the configured settings are valid and usable, or prompts the user to fix the settings." | 23 | help = "Verifies that the configured settings are valid and usable, or prompts the user to fix the settings." |
24 | 24 | ||
@@ -152,7 +152,7 @@ class Command(NoArgsCommand): | |||
152 | 152 | ||
153 | 153 | ||
154 | 154 | ||
155 | def handle_noargs(self, **options): | 155 | def handle(self, **options): |
156 | retval = 0 | 156 | retval = 0 |
157 | retval += self._verify_build_environment() | 157 | retval += self._verify_build_environment() |
158 | retval += self._verify_default_settings() | 158 | retval += self._verify_default_settings() |