Skip to content

Commit 797475a

Browse files
committed
Remove old contents()
1 parent 73f27b3 commit 797475a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: certifi/core.py

-6
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def where() -> str:
3838

3939
return _CACERT_PATH
4040

41-
4241
def contents() -> str:
4342
return files("certifi").joinpath("cacert.pem").read_text(encoding="ascii")
4443

@@ -74,10 +73,5 @@ def where() -> str:
7473

7574
return _CACERT_PATH
7675

77-
7876
def contents() -> str:
7977
return read_text("certifi", "cacert.pem", encoding="ascii")
80-
81-
def contents() -> str:
82-
with open(where(), "r", encoding="ascii") as fp:
83-
return fp.read()

0 commit comments

Comments
 (0)