@@ -34,7 +34,7 @@ from bb.ui.crumbs.recipeselectionpage import RecipeSelectionPage
from bb.ui.crumbs.packageselectionpage import PackageSelectionPage
from bb.ui.crumbs.builddetailspage import BuildDetailsPage
from bb.ui.crumbs.imagedetailspage import ImageDetailsPage
-from bb.ui.crumbs.hobwidget import hwc, HobButton, HobAltButton, hcc
+from bb.ui.crumbs.hobwidget import hwc, HobButton, HobAltButton
from bb.ui.crumbs.hig import CrumbsMessageDialog, ImageSelectionDialog, \
AdvancedSettingDialog, LayerSelectionDialog, \
DeployImageDialog
@@ -30,7 +30,7 @@ import shlex
import subprocess
import tempfile
from bb.ui.crumbs.hobcolor import HobColors
-from bb.ui.crumbs.hobwidget import hcc, hic, HobViewTable, HobInfoButton, HobButton, HobAltButton, HobIconChecker
+from bb.ui.crumbs.hobwidget import hic, HobViewTable, HobInfoButton, HobButton, HobAltButton, HobIconChecker
from bb.ui.crumbs.progressbar import HobProgressBar
import bb.ui.crumbs.utils
import bb.process
@@ -22,7 +22,6 @@
import gobject
import logging
from bb.ui.crumbs.runningbuild import RunningBuild
-from bb.ui.crumbs.hobwidget import hcc
class HobHandler(gobject.GObject):
@@ -63,35 +63,6 @@ class hic:
ICON_INDI_TICK_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/tick.png'))
ICON_INDI_INFO_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/info.png'))
-class hcc:
-
- SUPPORTED_IMAGE_TYPES = {
- "jffs2" : ["jffs2"],
- "sum.jffs2" : ["sum.jffs2"],
- "cramfs" : ["cramfs"],
- "ext2" : ["ext2"],
- "ext2.gz" : ["ext2.gz"],
- "ext2.bz2" : ["ext2.bz2"],
- "ext3" : ["ext3"],
- "ext3.gz" : ["ext3.gz"],
- "ext2.lzma" : ["ext2.lzma"],
- "btrfs" : ["btrfs"],
- "live" : ["hddimg", "iso"],
- "squashfs" : ["squashfs"],
- "squashfs-lzma" : ["squashfs-lzma"],
- "ubi" : ["ubi"],
- "tar" : ["tar"],
- "tar.gz" : ["tar.gz"],
- "tar.bz2" : ["tar.bz2"],
- "tar.xz" : ["tar.xz"],
- "cpio" : ["cpio"],
- "cpio.gz" : ["cpio.gz"],
- "cpio.xz" : ["cpio.xz"],
- "vmdk" : ["vmdk"],
- "cpio.lzma" : ["cpio.lzma"],
- "elf" : ["elf"],
- }
-
class HobViewTable (gtk.VBox):
"""
A VBox to contain the table for different recipe views and package view
Because class hcc is useless, so remove it. Signed-off-by: Kang Kai <kai.kang@windriver.com> --- bitbake/lib/bb/ui/crumbs/builder.py | 2 +- bitbake/lib/bb/ui/crumbs/hig.py | 2 +- bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 1 - bitbake/lib/bb/ui/crumbs/hobwidget.py | 29 --------------------------- 4 files changed, 2 insertions(+), 32 deletions(-)