mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/tglx/remail.git
synced 2024-11-22 04:12:38 +01:00
remail: Use existing policy for pipe
No need for a new one. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
2cee74a08b
commit
c8ac6b5a08
1 changed files with 1 additions and 2 deletions
|
@ -380,8 +380,7 @@ class remaild(object):
|
||||||
if cfgupdate:
|
if cfgupdate:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
policy = EmailPolicy(utf8=True)
|
msg = message_from_file(sys.stdin, policy=self.policy)
|
||||||
msg = message_from_file(sys.stdin, policy=policy)
|
|
||||||
return self.process_msg(msg, 'pipe input')
|
return self.process_msg(msg, 'pipe input')
|
||||||
|
|
||||||
# The runner
|
# The runner
|
||||||
|
|
Loading…
Reference in a new issue