summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-04-09 05:54:30 (GMT)
committerGitHub <noreply@github.com>2019-04-09 05:54:30 (GMT)
commit5909ad1217aad200c69ffa794fcab285bacb609e (patch)
tree81ccce02d45b6a2cc5aa7fa720c432d99854fe5f /Lib/distutils
parent7b97ab35b28b761ab1253df427ee674b1a90f465 (diff)
downloadcpython-5909ad1217aad200c69ffa794fcab285bacb609e.zip
cpython-5909ad1217aad200c69ffa794fcab285bacb609e.tar.gz
cpython-5909ad1217aad200c69ffa794fcab285bacb609e.tar.bz2
fix code styling (GH-12737)
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/bdist_wininst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/bdist_wininst.py b/Lib/distutils/command/bdist_wininst.py
index 1cf2e96..3a61688 100644
--- a/Lib/distutils/command/bdist_wininst.py
+++ b/Lib/distutils/command/bdist_wininst.py
@@ -269,7 +269,7 @@ class bdist_wininst(Command):
# convert back to bytes. "latin-1" simply avoids any possible
# failures.
with open(self.pre_install_script, "r",
- encoding="latin-1") as script:
+ encoding="latin-1") as script:
script_data = script.read().encode("latin-1")
cfgdata = cfgdata + script_data + b"\n\0"
else: