1 Debian patch touch this file
| 1 | """ |
| 2 | certifi.py |
| 3 | ~~~~~~~~~~ |
| 4 | |
| •5 | This module returns the installation location of |
| 6 | /etc/ssl/certs/ca-certificates.crt or its contents. |
| 7 | """ |
| 8 | |
| •9 | DEBIAN_CA_CERTS_PATH = '/etc/ssl/certs/ca-certificates.crt' |
| 10 | |
| 11 | |
| •12 | def where() -> str: |
| 13 | return DEBIAN_CA_CERTS_PATH |
| 14 | |
| •15 | def contents() -> str: |
| 16 | with open(where(), "r", encoding="ascii") as data: |
| 17 | return data.read() |