+

Add support to 'doesn't contain' Thunderbird condition operator

Benjamin Renard [2014-08-25 23:03:00]
Add support to 'doesn't contain' Thunderbird condition operator
Filename
convertFilters
diff --git a/convertFilters b/convertFilters
index 2d8a0d2..43bd170 100755
--- a/convertFilters
+++ b/convertFilters
@@ -122,6 +122,8 @@ for f in tbf:
 					r['operator']=c['cri_operator']
 				elif c['cri_operator']=="isn't":
 					r['operator']='is_not'
+				elif c['cri_operator']=="doesn't contain":
+					r['operator']='contains_not'
 				else:
 					raise Exception('Condition operator "%s" not recognized. Pass' % c['cri_operator'])
 				if c['cri_operand'] in ['subject','to','from']:
ViewGit