Skip to content

Commit

Permalink
Remove embedded package
Browse files Browse the repository at this point in the history
  • Loading branch information
calexandru2018 committed Sep 16, 2021
1 parent e856f63 commit a74be8c
Show file tree
Hide file tree
Showing 98 changed files with 4 additions and 15,715 deletions.
11 changes: 4 additions & 7 deletions proton/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@

from concurrent.futures import ThreadPoolExecutor

try:
from dns import message
from dns.rdatatype import TXT
except ModuleNotFoundError:
from .dns import message
from .dns.rdatatype import TXT

from dns import message
from dns.rdatatype import TXT


from .cert_pinning import TLSPinningAdapter
from .constants import (ALT_HASH_DICT, DEFAULT_TIMEOUT, DNS_HOSTS,
Expand Down Expand Up @@ -56,7 +54,6 @@ class Session:
"x-pm-apiversion": "3",
"Accept": "application/vnd.protonmail.v1+json"
}
__allow_alternative_routes = None
__force_skip_alternative_routing = False

@staticmethod
Expand Down
56 changes: 0 additions & 56 deletions proton/dns/__init__.py

This file was deleted.

59 changes: 0 additions & 59 deletions proton/dns/_compat.py

This file was deleted.

Loading

0 comments on commit a74be8c

Please sign in to comment.