]> git.droids-corp.org - imapami.git/log
imapami.git
9 years agoconditions: fix criteria for 'or'
Olivier Matz [Wed, 25 Nov 2015 17:54:18 +0000 (18:54 +0100)]
conditions: fix criteria for 'or'

The criteria was wrongly set to None as the following code has
no return value:
  criteria = set().add(criteria)

We should do this instead:
  criteria = set([criteria])

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
9 years agoconditions: fix criteria for 'not'
Olivier Matz [Wed, 25 Nov 2015 17:53:24 +0000 (18:53 +0100)]
conditions: fix criteria for 'not'

Only the check was inverted, but the criteria should be too.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
9 years agoactions: fix move
Olivier Matz [Wed, 25 Nov 2015 17:52:12 +0000 (18:52 +0100)]
actions: fix move

It is not possible to use ImapamiActionCopy.process() or
ImapamiActionDelete.process() methods on the ImapamiActionMove
object. So just duplicate the code for now.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
9 years agoFirst public revision
Olivier Matz [Sun, 22 Nov 2015 12:57:41 +0000 (13:57 +0100)]
First public revision

Signed-off-by: Olivier Matz <zer0@droids-corp.org>