From 1f59bcc313f54d5397dbc3a1f7a0b34963cb8636 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 23 Jan 2019 12:44:08 +0000 Subject: [PATCH] issue #477: fix another Threading.getName() call. --- mitogen/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitogen/core.py b/mitogen/core.py index 639d80dc..58f71ca0 100644 --- a/mitogen/core.py +++ b/mitogen/core.py @@ -2222,7 +2222,7 @@ class Latch(object): return 'Latch(%#x, size=%d, t=%r)' % ( id(self), len(self._queue), - threading.currentThread().name, + threading.currentThread().getName(), )