# HG changeset patch # User Augie Fackler # Date 2019-11-06 20:29:28 # Node ID ffd632c224c3631d28b5db7486074b92a8efdfae # Parent 5c9daf7df2b481d69f6cc1fbd1d81cf5b3053410 vfs: another bytes-str confusion on thread name Differential Revision: https://phab.mercurial-scm.org/D7260 diff --git a/mercurial/vfs.py b/mercurial/vfs.py --- a/mercurial/vfs.py +++ b/mercurial/vfs.py @@ -649,7 +649,7 @@ class backgroundfilecloser(object): self._running = True for i in range(threadcount): - t = threading.Thread(target=self._worker, name=b'backgroundcloser') + t = threading.Thread(target=self._worker, name='backgroundcloser') self._threads.append(t) t.start()