summaryrefslogtreecommitdiffstats
path: root/Lib/email/Message.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/email/Message.py')
-rw-r--r--Lib/email/Message.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/email/Message.py b/Lib/email/Message.py
index dd8d864..2245f9b 100644
--- a/Lib/email/Message.py
+++ b/Lib/email/Message.py
@@ -664,7 +664,7 @@ class Message:
if not self.has_key(header):
return
new_ctype = ''
- for p, v in self.get_params(header, unquote=requote):
+ for p, v in self.get_params(header=header, unquote=requote):
if p.lower() <> param.lower():
if not new_ctype:
new_ctype = _formatparam(p, v, requote)
@@ -700,7 +700,7 @@ class Message:
if not self.has_key(header):
self[header] = type
return
- params = self.get_params(header, unquote=requote)
+ params = self.get_params(header=header, unquote=requote)
del self[header]
self[header] = type
# Skip the first param; it's the old type.