From 5bb449455d85adaa9b23942c8050c7175391ece4 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Wed, 4 Jul 2018 22:50:31 +0200 Subject: [PATCH] Disable broken pylint check on specific line --- openlp/core/ui/slidecontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index 581e01253..fa204f8e8 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -1126,7 +1126,7 @@ class SlideController(DisplayController, LogMixin, RegistryProperties): # done by the thread holding the lock. If it is a "start" slide, we must wait for the lock, but only for 0.2 # seconds, since we don't want to cause a deadlock timeout = 0.2 if start else -1 - if not self.slide_selected_lock.acquire(start, timeout): + if not self.slide_selected_lock.acquire(start, timeout): # pylint: disable=too-many-function-args if start: self.log_debug('Could not get lock in slide_selected after waiting %f, skip to avoid deadlock.' % timeout)