summaryrefslogtreecommitdiff
path: root/poezio/daemon.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-10-13 00:47:21 +0200
committermathieui <mathieui@mathieui.net>2017-10-13 00:47:21 +0200
commit69f29969adcd97db8a1ab54ef2bbd5ec7f29a07e (patch)
treec106337fda6d4fbf2312d3ffb0ecb96e8d351f11 /poezio/daemon.py
parentbbfb834827a47195d1907674399ff18685be4fb9 (diff)
downloadpoezio-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-xpoezio/daemon.py2
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: