diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index bf92510cdc..552ff1649b 100644 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -1404,7 +1404,7 @@ if True: | |||
1404 | if not os.path.isdir('%s/conf' % request.POST['importdir']): | 1404 | if not os.path.isdir('%s/conf' % request.POST['importdir']): |
1405 | raise BadParameterException("Bad path or missing 'conf' directory (%s)" % request.POST['importdir']) | 1405 | raise BadParameterException("Bad path or missing 'conf' directory (%s)" % request.POST['importdir']) |
1406 | from django.core import management | 1406 | from django.core import management |
1407 | management.call_command('buildimport', '--command=import', '--name=%s' % request.POST['projectname'], '--path=%s' % request.POST['importdir'], interactive=False) | 1407 | management.call_command('buildimport', '--command=import', '--name=%s' % request.POST['projectname'], '--path=%s' % request.POST['importdir']) |
1408 | prj = Project.objects.get(name = request.POST['projectname']) | 1408 | prj = Project.objects.get(name = request.POST['projectname']) |
1409 | prj.merged_attr = True | 1409 | prj.merged_attr = True |
1410 | prj.save() | 1410 | prj.save() |