summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'text.py')
-rw-r--r--text.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/text.py b/text.py
index 66c81e8e8..5c07d01ae 100644
--- a/text.py
+++ b/text.py
@@ -8,6 +8,7 @@ import rpm
import time
import gettext_rh
import glob
+import signal
cat = gettext_rh.Catalog ("anaconda", "/usr/share/locale")
@@ -1002,6 +1003,8 @@ class InstallInterface:
self.individual = Flag(0)
self.step = 0
self.dir = 1
+ signal.signal(signal.SIGINT, signal.SIG_IGN)
+ signal.signal(signal.SIGTSTP, signal.SIG_IGN)
def __del__(self):
self.screen.finish()