summaryrefslogtreecommitdiffstats
path: root/external/poky/bitbake/lib/toaster/toastergui/typeaheads.py
diff options
context:
space:
mode:
authortakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
committertakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
commit1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch)
treecd70a267a5ef105ba32f200aa088e281fbd85747 /external/poky/bitbake/lib/toaster/toastergui/typeaheads.py
parent4204309872da5cb401cbb2729d9e2d4869a87f42 (diff)
recipes
Diffstat (limited to 'external/poky/bitbake/lib/toaster/toastergui/typeaheads.py')
-rw-r--r--external/poky/bitbake/lib/toaster/toastergui/typeaheads.py14
1 files changed, 2 insertions, 12 deletions
diff --git a/external/poky/bitbake/lib/toaster/toastergui/typeaheads.py b/external/poky/bitbake/lib/toaster/toastergui/typeaheads.py
index 5aa0f8d8..a1e6fe90 100644
--- a/external/poky/bitbake/lib/toaster/toastergui/typeaheads.py
+++ b/external/poky/bitbake/lib/toaster/toastergui/typeaheads.py
@@ -3,24 +3,14 @@
#
# Copyright (C) 2015 Intel Corporation
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import subprocess
from toastergui.widgets import ToasterTypeAhead
from orm.models import Project
-from django.core.urlresolvers import reverse
+from django.urls import reverse
from django.core.cache import cache