This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new ceb56c9  Missing RE prefix
ceb56c9 is described below

commit ceb56c96b718713e2713a9e484ceff59a273365e
Author: Sebb <[email protected]>
AuthorDate: Fri Jul 3 21:37:32 2020 +0100

    Missing RE prefix
---
 secmail.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/secmail.py b/secmail.py
index 463d17b..2c78e32 100644
--- a/secmail.py
+++ b/secmail.py
@@ -274,7 +274,7 @@ def detach(msg):
       }
       if name: props['email:name'] = name
       if addr: props['email:addr'] = addr
-      if msg['cc']: props['email:cc'] =  re.sub('\s+', ' ', decode(msg['cc']))
+      if msg['cc']: props['email:cc'] =  re.sub(r'\s+', ' ', decode(msg['cc']))
       for (key, value) in props.items():
         svn('propset ' + key + ' ' + repr(value), file)
   except:

Reply via email to