diff options
| author | Vratislav Podzimek <vpodzime@redhat.com> | 2013-01-17 13:06:07 +0100 |
|---|---|---|
| committer | Vratislav Podzimek <vpodzime@redhat.com> | 2013-01-22 13:01:59 +0100 |
| commit | 0dbea8e00a21240593b85a6728989c9b1ead232e (patch) | |
| tree | 416a35a200fbd7f1b2eb095fbb6a19d6a896e7ac | |
| parent | 25007061a631905368d39731e56691260d4cad0d (diff) | |
Cleanup some trailing whitespace on otherwise empty lines
Since this patch affects just the lines having (trailing) whitespace only,
it doesn't ruin git history in any significant way.
| -rw-r--r-- | pyanaconda/ui/__init__.py | 4 | ||||
| -rw-r--r-- | pyanaconda/ui/gui/__init__.py | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/pyanaconda/ui/__init__.py b/pyanaconda/ui/__init__.py index d09e9b498..c60698d64 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 73925e7da..d79aba6e2 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)) - + |
