summaryrefslogtreecommitdiff
path: root/dev-python/pylibmc/files/pylibmc-1.6.1-py311.patch
blob: c687f90fb65867fff87c8e997e60819967cc296f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 22854a4ba8f7e926099219c107104723089bcad8 Mon Sep 17 00:00:00 2001
From: Ludvig Ericson <ludvig@lericson.se>
Date: Mon, 29 Jun 2020 14:59:36 +0200
Subject: [PATCH] =?UTF-8?q?2020:=20Do=20not=20pass=20=E2=80=98U=E2=80=99?=
 =?UTF-8?q?=20flag=20to=20open?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 9bea257..89871ea 100644
--- a/setup.py
+++ b/setup.py
@@ -95,9 +95,9 @@ def append_env(L, e):
         s.write(line + "\n")
     sys.exit(0)
 
-with open("README.rst", "U", encoding="utf-8") as r:
+with open("README.rst", encoding="utf-8") as r:
     readme_text = r.read()
-with open("src/pylibmc-version.h", "U", encoding="utf-8") as r:
+with open("src/pylibmc-version.h", encoding="utf-8") as r:
     version = r.read().strip().split("\"")[1]
 
 setup(