aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-04-09 14:54:30 +0900
committerGitHub <noreply@github.com>2019-04-09 14:54:30 +0900
commit5909ad1217aad200c69ffa794fcab285bacb609e (patch)
tree81ccce02d45b6a2cc5aa7fa720c432d99854fe5f /Lib/distutils
parentcloses bpo-35848: Move all documentation regarding the readinto out of IOBase... (diff)
downloadcpython-5909ad1217aad200c69ffa794fcab285bacb609e.tar.gz
cpython-5909ad1217aad200c69ffa794fcab285bacb609e.tar.bz2
cpython-5909ad1217aad200c69ffa794fcab285bacb609e.zip
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 1cf2e963e0e..3a616883bee 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: