diff options
-rw-r--r-- | pym/_emerge/EbuildIpcDaemon.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/_emerge/EbuildIpcDaemon.py b/pym/_emerge/EbuildIpcDaemon.py index f6bfecfbe..66d868ba2 100644 --- a/pym/_emerge/EbuildIpcDaemon.py +++ b/pym/_emerge/EbuildIpcDaemon.py @@ -36,8 +36,11 @@ class EbuildIpcDaemon(FifoIpcDaemon): try: obj = pickle.loads(buf.tostring()) - except (EnvironmentError, EOFError, ValueError, - pickle.UnpicklingError): + except SystemExit: + raise + except Exception: + # The pickle module can raise practically + # any exception when given corrupt data. pass else: cmd_key = obj[0] |