diff options
author | atomlong | 2021-10-23 17:55:22 +0800 |
---|---|---|
committer | atomlong | 2021-10-23 18:06:15 +0800 |
commit | 80096c8de4b34ec1ed8f30bb428918cd592b2424 (patch) | |
tree | b48dd1e73de9ea35a4709fb6b93deb16331ec514 /0097-Don-t-use-os.pathsep-to-find-EOF.patch | |
parent | 89a67c05174951d172252b1db96ff93cc4ec4bcd (diff) | |
download | aur-80096c8de4b34ec1ed8f30bb428918cd592b2424.tar.gz |
update to 3.9.7
Diffstat (limited to '0097-Don-t-use-os.pathsep-to-find-EOF.patch')
-rw-r--r-- | 0097-Don-t-use-os.pathsep-to-find-EOF.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/0097-Don-t-use-os.pathsep-to-find-EOF.patch b/0097-Don-t-use-os.pathsep-to-find-EOF.patch deleted file mode 100644 index b0845a03e772..000000000000 --- a/0097-Don-t-use-os.pathsep-to-find-EOF.patch +++ /dev/null @@ -1,27 +0,0 @@ -From d0241e1a50f2bd27876a54ee3047487d7ce66cc5 Mon Sep 17 00:00:00 2001 -From: Naveen M K <naveen@syrusdark.website> -Date: Fri, 18 Jun 2021 12:38:11 +0530 -Subject: [PATCH 097/N] Don't use os.pathsep to find EOF not all - distributions in win32 have them as \ instead check using sys.platform - -Signed-off-by: Naveen M K <naveen@syrusdark.website> ---- - Lib/site.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Lib/site.py b/Lib/site.py -index b344f03..474ef89 100644 ---- a/Lib/site.py -+++ b/Lib/site.py -@@ -370,7 +370,7 @@ def setquit(): - The repr of each object contains a hint at how it works. - - """ -- if os.sep == '\\': -+ if sys.platform == 'win32': - eof = 'Ctrl-Z plus Return' - else: - eof = 'Ctrl-D (i.e. EOF)' --- -2.32.0 - |