Since this patch affects just the lines having (trailing) whitespace only, it doesn't ruin git history in any significant way.
Signed-off-by: Vratislav Podzimek vpodzime@redhat.com --- pyanaconda/ui/__init__.py | 4 ++-- pyanaconda/ui/gui/__init__.py | 14 +++++++------- pyanaconda/ui/tui/__init__.py | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/pyanaconda/ui/__init__.py b/pyanaconda/ui/__init__.py index d09e9b4..c60698d 100644 --- a/pyanaconda/ui/__init__.py +++ b/pyanaconda/ui/__init__.py @@ -76,7 +76,7 @@ class UserInterface(object): for k,v in pathdict.iteritems(): cls.paths.setdefault(k, []) cls.paths[k].extend(v) - + def setup(self, data): """Construct all the objects required to implement this interface. This method must be provided by all subclasses. @@ -147,7 +147,7 @@ class UserInterface(object): getattr(obj, "preForHub", False) or getattr(obj, "postForHub", False)))
return standalones - + def _orderActionClasses(self, spokes, hubs): """Order all the Hub and Spoke classes which should be enqueued for processing according to their pre/post dependencies. diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py index 73925e7..d79aba6 100644 --- a/pyanaconda/ui/gui/__init__.py +++ b/pyanaconda/ui/gui/__init__.py @@ -75,7 +75,7 @@ class GUIObject(common.UIObject): uiFile = ""
screenshots_directory = "/tmp/anaconda-screenshots" - + def __init__(self, data): """Create a new UIObject instance, including loading its uiFile and all UI-related objects. @@ -204,7 +204,7 @@ class QuitDialog(GUIObject): uiFile = "main.glade"
MESSAGE = "" - + def run(self): if self.MESSAGE: self.builder.get_object("quit_message").set_label(_(self.MESSAGE)) @@ -218,7 +218,7 @@ class GraphicalUserInterface(UserInterface): def __init__(self, storage, payload, instclass, distributionText = distributionText, isFinal = isFinal, quitDialog = QuitDialog): - + UserInterface.__init__(self, storage, payload, instclass)
self._actions = [] @@ -283,7 +283,7 @@ class GraphicalUserInterface(UserInterface):
def setup(self, data): busyCursor() - + self._actions = self.getActionClasses(self._list_hubs()) self.data = data
@@ -324,7 +324,7 @@ class GraphicalUserInterface(UserInterface): if hasattr(obj, "set_path"): obj.set_path("spokes", self.paths["spokes"]) obj.set_path("categories", self.paths["categories"]) - + # If we are doing a kickstart install, some standalone spokes # could already be filled out. In that case, we do not want # to display them. @@ -428,7 +428,7 @@ class GraphicalUserInterface(UserInterface): ### def _on_continue_clicked(self): from gi.repository import Gtk - + # If we're on the last screen, clicking Continue quits. if len(self._actions) == 1: Gtk.main_quit() @@ -534,4 +534,4 @@ def unbusyCursor(): window = Gdk.get_default_root_window() window.set_cursor(Gdk.Cursor(Gdk.CursorType.ARROW))
- + diff --git a/pyanaconda/ui/tui/__init__.py b/pyanaconda/ui/tui/__init__.py index 64b9f7f..52e8f21 100644 --- a/pyanaconda/ui/tui/__init__.py +++ b/pyanaconda/ui/tui/__init__.py @@ -163,7 +163,7 @@ class TextUserInterface(ui.UserInterface): def _is_standalone(self, spoke): """checks if the passed spoke is standalone""" return isinstance(spoke, StandaloneSpoke) - + def setup(self, data): """Construct all the objects required to implement this interface. This method must be provided by all subclasses. @@ -175,7 +175,7 @@ class TextUserInterface(ui.UserInterface): path = os.path.join(os.path.dirname(__file__), "spokes") spokes = self._collectActionClasses(self.paths["spokes"], StandaloneSpoke) actionClasses = self._orderActionClasses(spokes, _hubs) - + for klass in actionClasses: obj = klass(self._app, data, self.storage, self.payload, self.instclass)