diff options
author | Erik Troan <ewt@redhat.com> | 2000-02-23 21:04:50 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-02-23 21:04:50 +0000 |
commit | 9118274a4e9df2a574cecc169e5fbca4dc98d2f9 (patch) | |
tree | b5c9aa7b945a00eab9659d8e81089da31c630af0 /text.py | |
parent | 51f5a9e60eea5c47de006440b23e33a996fff3dd (diff) | |
download | anaconda-9118274a4e9df2a574cecc169e5fbca4dc98d2f9.tar.gz anaconda-9118274a4e9df2a574cecc169e5fbca4dc98d2f9.tar.xz anaconda-9118274a4e9df2a574cecc169e5fbca4dc98d2f9.zip |
various changes to get better ^C, ^Z handling
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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() |