From e6cf76e40c6edbd152a06db375d70a5dc94c3360 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 10 Sep 2015 07:44:45 +0200 Subject: [PATCH] Fix coverage and lint. --- qutebrowser/misc/ipc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/misc/ipc.py b/qutebrowser/misc/ipc.py index aa4414b20..441fab973 100644 --- a/qutebrowser/misc/ipc.py +++ b/qutebrowser/misc/ipc.py @@ -38,7 +38,7 @@ from qutebrowser.utils import (log, usertypes, error, objreg, standarddir, CONNECT_TIMEOUT = 100 WRITE_TIMEOUT = 1000 READ_TIMEOUT = 5000 -ATIME_INTERVAL = 60 * 60 * 6 * 1000 # 6 hours +ATIME_INTERVAL = 60 * 60 * 6 * 1000 # 6 hours PROTOCOL_VERSION = 1 @@ -175,7 +175,7 @@ class IPCServer(QObject): self._timer.setInterval(READ_TIMEOUT) self._timer.timeout.connect(self.on_timeout) - if os.name == 'nt': + if os.name == 'nt': # pragma: no coverage self._atime_timer = None else: self._atime_timer = usertypes.Timer(self, 'ipc-atime')