diff options
author | Kang Kai <kai.kang@windriver.com> | 2012-08-28 10:47:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-07 12:10:40 +0100 |
commit | c8db2f66de19d9a814cf642d3f07b1dd542aab4f (patch) | |
tree | 891369e137e9c11efc310d77aad2701706660704 /bitbake/lib | |
parent | da98eddd02118f4330d05a1262617ba84029a13a (diff) | |
download | poky-c8db2f66de19d9a814cf642d3f07b1dd542aab4f.tar.gz |
bitbake: hob2: remove class hcc
Because class hcc is useless, remove it.
(Bitbake rev: 08d4a0f76542e05755c298b3875ea373e5512e13)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 29 |
4 files changed, 2 insertions, 32 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 5421fb6d12..522bd1d94a 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -34,7 +34,7 @@ from bb.ui.crumbs.recipeselectionpage import RecipeSelectionPage | |||
34 | from bb.ui.crumbs.packageselectionpage import PackageSelectionPage | 34 | from bb.ui.crumbs.packageselectionpage import PackageSelectionPage |
35 | from bb.ui.crumbs.builddetailspage import BuildDetailsPage | 35 | from bb.ui.crumbs.builddetailspage import BuildDetailsPage |
36 | from bb.ui.crumbs.imagedetailspage import ImageDetailsPage | 36 | from bb.ui.crumbs.imagedetailspage import ImageDetailsPage |
37 | from bb.ui.crumbs.hobwidget import hwc, HobButton, HobAltButton, hcc | 37 | from bb.ui.crumbs.hobwidget import hwc, HobButton, HobAltButton |
38 | from bb.ui.crumbs.hig import CrumbsMessageDialog, ImageSelectionDialog, \ | 38 | from bb.ui.crumbs.hig import CrumbsMessageDialog, ImageSelectionDialog, \ |
39 | AdvancedSettingDialog, LayerSelectionDialog, \ | 39 | AdvancedSettingDialog, LayerSelectionDialog, \ |
40 | DeployImageDialog | 40 | DeployImageDialog |
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 6829927e1a..6b573a884e 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
@@ -30,7 +30,7 @@ import shlex | |||
30 | import subprocess | 30 | import subprocess |
31 | import tempfile | 31 | import tempfile |
32 | from bb.ui.crumbs.hobcolor import HobColors | 32 | from bb.ui.crumbs.hobcolor import HobColors |
33 | from bb.ui.crumbs.hobwidget import hcc, hic, HobViewTable, HobInfoButton, HobButton, HobAltButton, HobIconChecker | 33 | from bb.ui.crumbs.hobwidget import hic, HobViewTable, HobInfoButton, HobButton, HobAltButton, HobIconChecker |
34 | from bb.ui.crumbs.progressbar import HobProgressBar | 34 | from bb.ui.crumbs.progressbar import HobProgressBar |
35 | import bb.ui.crumbs.utils | 35 | import bb.ui.crumbs.utils |
36 | import bb.process | 36 | import bb.process |
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 540dde0951..dac2f74d90 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -22,7 +22,6 @@ | |||
22 | import gobject | 22 | import gobject |
23 | import logging | 23 | import logging |
24 | from bb.ui.crumbs.runningbuild import RunningBuild | 24 | from bb.ui.crumbs.runningbuild import RunningBuild |
25 | from bb.ui.crumbs.hobwidget import hcc | ||
26 | 25 | ||
27 | class HobHandler(gobject.GObject): | 26 | class HobHandler(gobject.GObject): |
28 | 27 | ||
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index d10c56b69d..7c23440630 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py | |||
@@ -63,35 +63,6 @@ class hic: | |||
63 | ICON_INDI_TICK_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/tick.png')) | 63 | ICON_INDI_TICK_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/tick.png')) |
64 | ICON_INDI_INFO_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/info.png')) | 64 | ICON_INDI_INFO_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/info.png')) |
65 | 65 | ||
66 | class hcc: | ||
67 | |||
68 | SUPPORTED_IMAGE_TYPES = { | ||
69 | "jffs2" : ["jffs2"], | ||
70 | "sum.jffs2" : ["sum.jffs2"], | ||
71 | "cramfs" : ["cramfs"], | ||
72 | "ext2" : ["ext2"], | ||
73 | "ext2.gz" : ["ext2.gz"], | ||
74 | "ext2.bz2" : ["ext2.bz2"], | ||
75 | "ext3" : ["ext3"], | ||
76 | "ext3.gz" : ["ext3.gz"], | ||
77 | "ext2.lzma" : ["ext2.lzma"], | ||
78 | "btrfs" : ["btrfs"], | ||
79 | "live" : ["hddimg", "iso"], | ||
80 | "squashfs" : ["squashfs"], | ||
81 | "squashfs-lzma" : ["squashfs-lzma"], | ||
82 | "ubi" : ["ubi"], | ||
83 | "tar" : ["tar"], | ||
84 | "tar.gz" : ["tar.gz"], | ||
85 | "tar.bz2" : ["tar.bz2"], | ||
86 | "tar.xz" : ["tar.xz"], | ||
87 | "cpio" : ["cpio"], | ||
88 | "cpio.gz" : ["cpio.gz"], | ||
89 | "cpio.xz" : ["cpio.xz"], | ||
90 | "vmdk" : ["vmdk"], | ||
91 | "cpio.lzma" : ["cpio.lzma"], | ||
92 | "elf" : ["elf"], | ||
93 | } | ||
94 | |||
95 | class HobViewTable (gtk.VBox): | 66 | class HobViewTable (gtk.VBox): |
96 | """ | 67 | """ |
97 | A VBox to contain the table for different recipe views and package view | 68 | A VBox to contain the table for different recipe views and package view |