From: Olivier Matz Date: Sun, 29 Nov 2015 10:50:28 +0000 (+0100) Subject: actions: remove undeclared variables in log X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=49d297122b300fab89f4a806b3ce99c07572eea1;p=imapami.git actions: remove undeclared variables in log This log comes from a bad copy/paste. Fixes: 95f172d6c ("actions: fix move") Signed-off-by: Olivier Matz --- diff --git a/imapami/actions.py b/imapami/actions.py index 63f4f52..169588c 100644 --- a/imapami/actions.py +++ b/imapami/actions.py @@ -284,8 +284,7 @@ class ImapamiActionMove(ImapamiAction): ret, msg = imap.store(mail.item, '+FLAGS', '\\Deleted') if ret != "OK": ami.logger.warning( - "imap store '%s %s' returned %s: %s" % ( - cmd, flag, ret, str(msg))) + "imap delete returned %s: %s" % (ret, str(msg))) return False return True register(ImapamiActionMove)