Mercurial > hg
comparison setup.py @ 45939:66f6ca2b7aee
cleanup: fix a few recent black formatting violations
Differential Revision: https://phab.mercurial-scm.org/D9427
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 27 Nov 2020 17:00:25 -0500 |
parents | 2960b7fac966 |
children | 89a2afe31e82 |
comparison
equal
deleted
inserted
replaced
45938:f5d62f4d5327 | 45939:66f6ca2b7aee |
---|---|
814 # without tampering with PATH. | 814 # without tampering with PATH. |
815 fsdecode = lambda x: x | 815 fsdecode = lambda x: x |
816 if sys.version_info[0] >= 3: | 816 if sys.version_info[0] >= 3: |
817 fsdecode = os.fsdecode | 817 fsdecode = os.fsdecode |
818 dest = os.path.join( | 818 dest = os.path.join( |
819 os.path.dirname(self.hgtarget), | 819 os.path.dirname(self.hgtarget), fsdecode(dllbasename), |
820 fsdecode(dllbasename), | |
821 ) | 820 ) |
822 | 821 |
823 if not os.path.exists(dest): | 822 if not os.path.exists(dest): |
824 shutil.copy(buf.value, dest) | 823 shutil.copy(buf.value, dest) |
825 | 824 |