Ales Kozumplik
2010-03-29 12:26:39 UTC
I am going to give master some nice refactoring too.
---
storage/__init__.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/storage/__init__.py b/storage/__init__.py
index e37f9e9..6a02c13 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -105,6 +105,11 @@ def storageInitialize(anaconda):
"could not be found. Please check your "
"parameters and try again.") % devspec,
type="custom", custom_buttons = [_("_Exit installer")])
+ # vtActivate() might fail on certain ppc64 machines
+ try:
+ isys.vtActivate(1)
+ except SystemError:
+ pass
sys.exit(1)
else:
storage.reset()
---
storage/__init__.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/storage/__init__.py b/storage/__init__.py
index e37f9e9..6a02c13 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -105,6 +105,11 @@ def storageInitialize(anaconda):
"could not be found. Please check your "
"parameters and try again.") % devspec,
type="custom", custom_buttons = [_("_Exit installer")])
+ # vtActivate() might fail on certain ppc64 machines
+ try:
+ isys.vtActivate(1)
+ except SystemError:
+ pass
sys.exit(1)
else:
storage.reset()
--
1.6.6
1.6.6