More user friendly log message about new messages
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 27 Jun 2012 12:22:19 +0000 (14:22 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 27 Jun 2012 12:26:08 +0000 (14:26 +0200)
fix_imap_internaldate.py

index 5984a74..8056a91 100644 (file)
@@ -72,7 +72,7 @@ def main():
                 box = caching_data.retrieve_cached_mailbox(mailbox[0], mailbox[1], user['username'])
                 mail_ids = session.fetch_messages()
                 new_ids = box.synchronize(mail_ids)
-                logging.warning("%s non-cached messages found out of %s in %s.", len(new_ids), len(mail_ids), box.name)
+                logging.warning("%s new messages out of %s found in %s.", len(new_ids), len(mail_ids), box.name)
             except UserWarning as ex:
                 logging.error(ex)
                 continue