summaryrefslogtreecommitdiffstats
path: root/Lib/_LWPCookieJar.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/_LWPCookieJar.py')
-rw-r--r--Lib/_LWPCookieJar.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/_LWPCookieJar.py b/Lib/_LWPCookieJar.py
index 2c8d456..25a2528 100644
--- a/Lib/_LWPCookieJar.py
+++ b/Lib/_LWPCookieJar.py
@@ -115,13 +115,6 @@ class LWPCookieJar(FileCookieJar):
for data in split_header_words([line]):
name, value = data[0]
- # name and value are an exception here, since a plain "foo"
- # (with no "=", unlike "bar=foo") means a cookie with no
- # name and value "foo". With all other cookie-attributes,
- # the situation is reversed: "foo" means an attribute named
- # "foo" with no value!
- if value is None:
- name, value = value, name
standard = {}
rest = {}
for k in boolean_attrs: