Fix pylint warnings on Windows.

This commit is contained in:
Florian Bruhin 2015-06-10 18:29:33 +02:00
parent fc15e85811
commit b57027f800

View File

@ -300,6 +300,7 @@ class SignalHandler(QObject):
signal.SIGTERM, self.interrupt)
if os.name == 'posix' and hasattr(signal, 'set_wakeup_fd'):
# pylint: disable=import-error,no-member
import fcntl
read_fd, write_fd = os.pipe()
for fd in (read_fd, write_fd):