diff options
author | mathieui <mathieui@mathieui.net> | 2017-10-13 00:47:21 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2017-10-13 00:47:21 +0200 |
commit | 69f29969adcd97db8a1ab54ef2bbd5ec7f29a07e (patch) | |
tree | c106337fda6d4fbf2312d3ffb0ecb96e8d351f11 /poezio/daemon.py | |
parent | bbfb834827a47195d1907674399ff18685be4fb9 (diff) | |
download | poezio-69f29969adcd97db8a1ab54ef2bbd5ec7f29a07e.tar.gz poezio-69f29969adcd97db8a1ab54ef2bbd5ec7f29a07e.tar.bz2 poezio-69f29969adcd97db8a1ab54ef2bbd5ec7f29a07e.tar.xz poezio-69f29969adcd97db8a1ab54ef2bbd5ec7f29a07e.zip |
Improve some bare or redundant excepts
Diffstat (limited to 'poezio/daemon.py')
-rwxr-xr-x | poezio/daemon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/daemon.py b/poezio/daemon.py index 20acfa8a..6de0ec3a 100755 --- a/poezio/daemon.py +++ b/poezio/daemon.py @@ -57,7 +57,7 @@ class Executor(threading.Thread): if self.filename: try: stdout = open(self.filename, self.redirection_mode) - except (OSError, IOError): + except OSError: log.error('Could not open redirection file: %s', self.filename, exc_info=True) return try: |