Patchwork D7367: dirstate: re-blacken file

login
register
mail settings
Submitter phabricator
Date Nov. 11, 2019, 9:14 p.m.
Message ID <differential-rev-PHID-DREV-s5hc7niwvmktmcgovuek-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/43130/
State Superseded
Headers show

Comments

phabricator - Nov. 11, 2019, 9:14 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This got overlooked in landing a recent patch, but it's easy to fix up.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7367

AFFECTED FILES
  mercurial/dirstate.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -1114,7 +1114,9 @@ 
             # how to read the config file.
             numcpus = self._ui.configint("worker", "numcpus")
             if numcpus is not None:
-                encoding.environ.setdefault(b'RAYON_NUM_THREADS', b'%d' % numcpus)
+                encoding.environ.setdefault(
+                    b'RAYON_NUM_THREADS', b'%d' % numcpus
+                )
 
             workers_enabled = self._ui.configbool("worker", "enabled", True)
             if not workers_enabled: