diff options
Diffstat (limited to 'src/mailman_pgp/utils/email.py')
| -rw-r--r-- | src/mailman_pgp/utils/email.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mailman_pgp/utils/email.py b/src/mailman_pgp/utils/email.py index 4d08d8a..4541313 100644 --- a/src/mailman_pgp/utils/email.py +++ b/src/mailman_pgp/utils/email.py @@ -16,7 +16,10 @@ # this program. If not, see <http://www.gnu.org/licenses/>. """""" +from public import public + +@public def copy_headers(from_msg, to_msg, overwrite=False): """ Copy the headers and unixfrom from a message to another one. @@ -32,4 +35,4 @@ def copy_headers(from_msg, to_msg, overwrite=False): if key not in to_msg: to_msg[key] = value if to_msg.get_unixfrom() is None: - to_msg.set_unixfrom(from_msg.get_unixfrom())
\ No newline at end of file + to_msg.set_unixfrom(from_msg.get_unixfrom()) |
