Benjamin Renard commited on 2014-08-25 23:03:00
Showing 1 changed files, with 2 additions and 0 deletions.
| ... | ... |
@@ -122,6 +122,8 @@ for f in tbf: |
| 122 | 122 |
r['operator']=c['cri_operator'] |
| 123 | 123 |
elif c['cri_operator']=="isn't": |
| 124 | 124 |
r['operator']='is_not' |
| 125 |
+ elif c['cri_operator']=="doesn't contain": |
|
| 126 |
+ r['operator']='contains_not' |
|
| 125 | 127 |
else: |
| 126 | 128 |
raise Exception('Condition operator "%s" not recognized. Pass' % c['cri_operator'])
|
| 127 | 129 |
if c['cri_operand'] in ['subject','to','from']: |
| 128 | 130 |