Warn about a tricky piece of code in addmessageheader

As requested by Nicholas Sebrecht.

Signed-off-by: Abdo Roig-Maranges <abdo.roig@gmail.com>
This commit is contained in:
Abdo Roig-Maranges 2014-11-20 14:18:35 +01:00
parent 2a5ef8c2ef
commit e70607e3e3

View File

@ -401,6 +401,9 @@ class BaseFolder(object):
"""
Adds new header to the provided message.
WARNING: This function is a bit tricky, and modifying it in the wrong way,
may easily lead to data-loss.
Arguments:
- content: message content, headers and body as a single string
- linebreak: string that carries line ending