diff options
| author | Chris Lumens <clumens@redhat.com> | 2012-08-22 13:32:41 -0400 |
|---|---|---|
| committer | Chris Lumens <clumens@redhat.com> | 2012-08-22 14:59:25 -0400 |
| commit | 44889e7e89c5e57785e5d948b7ff157329d37c8c (patch) | |
| tree | 833283ba84d124b546239dab01e80596643c8e7d | |
| parent | 04ada8026dd2bd91a746e43798ce14d356b4481d (diff) | |
| download | anaconda-44889e7e89c5e57785e5d948b7ff157329d37c8c.tar.gz anaconda-44889e7e89c5e57785e5d948b7ff157329d37c8c.tar.xz anaconda-44889e7e89c5e57785e5d948b7ff157329d37c8c.zip | |
_actions should be set up in the __init__ method.
This prevents a traceback from happening when handling tracebacks.
| -rw-r--r-- | pyanaconda/ui/gui/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py index 371496c1b..e07d4e916 100644 --- a/pyanaconda/ui/gui/__init__.py +++ b/pyanaconda/ui/gui/__init__.py @@ -41,6 +41,7 @@ class GraphicalUserInterface(UserInterface): def __init__(self, storage, payload, instclass): UserInterface.__init__(self, storage, payload, instclass) + self._actions = [] self._hubs = [] self._ui = None @@ -63,7 +64,6 @@ class GraphicalUserInterface(UserInterface): # Instantiate all hubs and their pre/post standalone spokes, passing # the arguments defining our spoke API and setting up continue/quit # signal handlers. - self._actions = [] for klass in actionClasses: obj = klass(data, self.storage, self.payload, self.instclass) |
