]> git.droids-corp.org - imapami.git/commitdiff
actions: remove undeclared variables in log
authorOlivier Matz <zer0@droids-corp.org>
Sun, 29 Nov 2015 10:50:28 +0000 (11:50 +0100)
committerOlivier Matz <zer0@droids-corp.org>
Sun, 29 Nov 2015 10:50:28 +0000 (11:50 +0100)
This log comes from a bad copy/paste.

Fixes: 95f172d6c ("actions: fix move")
Signed-off-by: Olivier Matz <zer0@droids-corp.org>
imapami/actions.py

index 63f4f52577c99b4117ededbdc9264cccf8b0b07e..169588cc9e8c1a8a2d0b5bd01b39c3b08fe10b55 100644 (file)
@@ -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)