From 92e521a30c214ac2e65c6fb68401e90196a6c88b Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Tue, 19 Jun 2007 23:39:28 +0000 Subject: whitespace fixup --- lib/python/Components/Renderer/Listbox.py | 6 +++--- lib/python/Components/Sources/List.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/python') diff --git a/lib/python/Components/Renderer/Listbox.py b/lib/python/Components/Renderer/Listbox.py index d784b614..a1f89377 100644 --- a/lib/python/Components/Renderer/Listbox.py +++ b/lib/python/Components/Renderer/Listbox.py @@ -46,7 +46,7 @@ class Listbox(Renderer, object): self.__wrap_around = wrap_around if self.instance is not None: self.instance.setWrapAround(self.__wrap_around) - + wrap_around = property(lambda self: self.__wrap_around, setWrapAround) def selectionChanged(self): @@ -56,14 +56,14 @@ class Listbox(Renderer, object): if self.instance is None: return None return self.instance.getCurrentIndex() - + def moveToIndex(self, index): if self.instance is None: return self.instance.moveSelectionTo(index) index = property(getIndex, moveToIndex) - + def move(self, direction): if self.instance is not None: self.instance.moveSelection(direction) diff --git a/lib/python/Components/Sources/List.py b/lib/python/Components/Sources/List.py index 6d083f05..e141da59 100644 --- a/lib/python/Components/Sources/List.py +++ b/lib/python/Components/Sources/List.py @@ -31,7 +31,7 @@ to generate HTML.""" def selectionChanged(self, index): if self.disable_callbacks: return - + for x in self.onSelectionChanged: x() -- cgit v1.2.3