Files
freeipa/ipatests/test_ipalib
Stanislav Levin fd99e4d47a 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-14 10:44:55 -04:00
..
2013-06-17 19:22:50 +02:00
2018-06-20 08:38:03 +02:00
2022-03-14 10:44:55 -04:00
2016-09-27 13:35:58 +02:00
2022-03-14 10:44:55 -04:00
2022-03-14 10:44:55 -04:00
2021-04-28 17:11:15 +02:00
2020-04-28 15:33:57 +02:00