Skip to content

Commit bab57cc

Browse files
authored
Update cookiejar.py
1 parent 2646eb4 commit bab57cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/http/cookiejar.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,9 @@ def __init__(self,
916916
"travel", "eu", "tv", "or", "nom", "sch", "web"}
917917
if isinstance(additional_country_code_slds, set):
918918
self.slds = well_known_slds.union(additional_country_code_slds)
919+
_debug(f"The set of country code slds is {self.slds}")
920+
else:
921+
raise TypeError("attribute 'additional_country_code_slds' should be a 'set' type")
919922

920923
if blocked_domains is not None:
921924
self._blocked_domains = tuple(blocked_domains)

0 commit comments

Comments
 (0)