From patchwork Wed Jun 6 09:52:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel,3/6] ui/crumbs/hig.py: remove extra spaces Date: Wed, 06 Jun 2012 09:52:25 -0000 From: Kang Kai X-Patchwork-Id: 29275 Message-Id: <9cace04b4c18fc9275b927c6fe07884d470a5e6e.1338976258.git.kai.kang@windriver.com> To: Cc: bitbake-devel@lists.openembedded.org, zhenfeng.zhao@windriver.com Remove extra spaces at the end of line or blank line. Signed-off-by: Kang Kai --- bitbake/lib/bb/ui/crumbs/hig.py | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 893fad4..cf73145 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py @@ -64,7 +64,7 @@ class CrumbsMessageDialog(CrumbsDialog): """ def __init__(self, parent=None, label="", icon=gtk.STOCK_INFO): super(CrumbsMessageDialog, self).__init__("", parent, gtk.DIALOG_DESTROY_WITH_PARENT) - + self.set_border_width(6) self.vbox.set_property("spacing", 12) self.action_area.set_property("spacing", 12) @@ -208,7 +208,7 @@ class AdvancedSettingDialog (CrumbsDialog): hbox.pack_start(port_entry, expand=False, fill=False) details_button = HobAltButton("Details") - details_button.connect("clicked", self.details_cb, parent, protocol) + details_button.connect("clicked", self.details_cb, parent, protocol) hbox.pack_start(details_button, expand=False, fill=False) hbox.show_all() @@ -1036,7 +1036,7 @@ class LayerSelectionDialog (CrumbsDialog): # create visual elements on the dialog self.create_visual_elements() self.connect("response", self.response_cb) - + def create_visual_elements(self): layer_widget, self.layer_store = self.gen_layer_widget(self.layers, self.all_layers, self, None) layer_widget.set_size_request(450, 250) @@ -1211,7 +1211,7 @@ class ImageSelectionDialog (CrumbsDialog): if f.endswith('.' + real_image_type): imageset.add(f.rsplit('.' + real_image_type)[0].rsplit('.rootfs')[0]) self.image_list.append(f) - + for image in imageset: self.image_store.set(self.image_store.append(), 0, image, 1, False) @@ -1227,7 +1227,7 @@ class ImageSelectionDialog (CrumbsDialog): for f in self.image_list: if f.startswith(self.image_store[path][0] + '.'): self.image_names.append(f) - break + break iter = self.image_store.iter_next(iter) class ProxyDetailsDialog (CrumbsDialog):