Skip to content

Commit a74be8c

Browse files
Remove embedded package
1 parent e856f63 commit a74be8c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+4
-15715
lines changed

proton/api.py

+4-7
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717

1818
from concurrent.futures import ThreadPoolExecutor
1919

20-
try:
21-
from dns import message
22-
from dns.rdatatype import TXT
23-
except ModuleNotFoundError:
24-
from .dns import message
25-
from .dns.rdatatype import TXT
20+
21+
from dns import message
22+
from dns.rdatatype import TXT
23+
2624

2725
from .cert_pinning import TLSPinningAdapter
2826
from .constants import (ALT_HASH_DICT, DEFAULT_TIMEOUT, DNS_HOSTS,
@@ -56,7 +54,6 @@ class Session:
5654
"x-pm-apiversion": "3",
5755
"Accept": "application/vnd.protonmail.v1+json"
5856
}
59-
__allow_alternative_routes = None
6057
__force_skip_alternative_routing = False
6158

6259
@staticmethod

proton/dns/__init__.py

-56
This file was deleted.

proton/dns/_compat.py

-59
This file was deleted.

0 commit comments

Comments
 (0)