Files
freeipa/ipalib
Stanislav Levin feab723c59 pylint: Fix deprecated-method for threading
As of Python3 `currentThread`, `thread.getName` are aliases for
`threading.current_thread()` and `threading.Thread.name`
respectively.

In Python3.10:
> bpo-43723: The following threading methods are now deprecated and
  should be replaced:
  currentThread => threading.current_thread()
  activeCount => threading.active_count()
  Condition.notifyAll => threading.Condition.notify_all()
  Event.isSet => threading.Event.is_set()
  Thread.setName => threading.Thread.name
  thread.getName => threading.Thread.name
  Thread.isDaemon => threading.Thread.daemon
  Thread.setDaemon => threading.Thread.daemon

Fixes: https://pagure.io/freeipa/issue/9117
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2022-03-11 13:37:08 -05:00
..
2021-03-30 09:58:42 +02:00
2020-02-12 18:08:32 +02:00
2018-09-27 16:11:18 +02:00
2016-11-24 15:46:40 +01:00
2022-03-11 13:37:08 -05:00
2021-04-27 13:10:26 -04:00
2022-03-11 13:37:08 -05:00
2018-09-27 11:49:04 +02:00
2022-03-11 13:37:08 -05:00
2016-10-20 18:43:37 +02:00