Skip to content

Commit 3a0c15f

Browse files
committed
Fix some typos (+3 squashed commit)
Squashed commit: [a5cd4c2] Fix typo in common_gmvault.py [5b1d7ec] Another typo fix in imap_utils.py [6770dd4] Fix small typo in imap_utils.py
1 parent 6770dd4 commit 3a0c15f

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ various contributors:
1010

1111
- Dave Vasilevsky (ghub:@vasi, email:<[email protected]>)
1212
- Erik van Zijst (email:<[email protected]>)
13+
- Felipe Guaycuru (ghub:@guaycuru, email: <[email protected]>)

src/gmv/gmvault.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ def sync(self, imap_req, compress_on_disk = True, \
589589
LOG.critical("Disable compression when storing emails.")
590590

591591
if self.use_encryption:
592-
LOG.critical("Encryption activated. All emails will be encrypted before to be stored.")
592+
LOG.critical("Encryption activated. All emails will be encrypted before being stored.")
593593
LOG.critical("Please take care of the encryption key stored in (%s) or all"\
594594
" your stored emails will become unreadable." \
595595
% (gmvault_db.GmailStorer.get_encryption_key_path(self.db_root_dir)))

src/gmv/imap_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def retry(a_nb_tries=3, a_sleep_time=1, a_backoff=1): #pylint:disable=R0912
5858
"""
5959
Decorator for retrying command when it failed with a imap or socket error.
6060
Should be used exclusively on imap exchanges.
61-
Strategy, always retry on any imaplib or socket error. Wait few seconds before to retry
61+
Strategy, always retry on any imaplib or socket error. Wait a few seconds before retrying
6262
backoff sets the factor by which the a_sleep_time should lengthen after each failure. backoff must be greater than 1,
6363
or else it isn't really a backoff
6464
"""

src/sandbox/common_gmvault.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ def sync(self, imap_req = imap_utils.GIMAPFetcher.IMAP_ALL, compress_on_disk = T
782782
LOG.critical("Disable compression when storing emails.")
783783

784784
if self.use_encryption:
785-
LOG.critical("Encryption activated. All emails will be encrypted before to be stored.")
785+
LOG.critical("Encryption activated. All emails will be encrypted before being stored.")
786786
LOG.critical("Please take care of the encryption key stored in (%s) or all"\
787787
" your stored emails will become unreadable." \
788788
% (gmvault_db.GmailStorer.get_encryption_key_path(self.db_root_dir)))

src/sandbox/gmvault_multiprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ def sync(self, imap_req = imap_utils.GIMAPFetcher.IMAP_ALL, compress_on_disk = T
653653
LOG.critical("Disable compression when storing emails.")
654654

655655
if self.use_encryption:
656-
LOG.critical("Encryption activated. All emails will be encrypted before to be stored.")
656+
LOG.critical("Encryption activated. All emails will be encrypted before being stored.")
657657
LOG.critical("Please take care of the encryption key stored in (%s) or all"\
658658
" your stored emails will become unreadable." % (gmvault_db.GmailStorer.get_encryption_key_path(self.db_root_dir)))
659659

0 commit comments

Comments
 (0)