forked from openlp/openlp
Disable broken pylint check on specific line
This commit is contained in:
parent
56a811c094
commit
5bb449455d
@ -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
|
# 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
|
# seconds, since we don't want to cause a deadlock
|
||||||
timeout = 0.2 if start else -1
|
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:
|
if start:
|
||||||
self.log_debug('Could not get lock in slide_selected after waiting %f, skip to avoid deadlock.'
|
self.log_debug('Could not get lock in slide_selected after waiting %f, skip to avoid deadlock.'
|
||||||
% timeout)
|
% timeout)
|
||||||
|
Loading…
Reference in New Issue
Block a user