Skip to content

Commit 47acb76

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 squashed commits) Squashed commits: [6770dd4] Fix small typo in imap_utils.py
1 parent 1d9915c commit 47acb76

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

AUTHORS.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ various contributors:
1010

1111
- Dave Vasilevsky (ghub:@vasi, email:<dave@vasilevsky.ca>)
1212
- Erik van Zijst (email:<erik.van.zijst@gmail.com>)
13+
- Felipe Guaycuru (ghub:@guaycuru, email: <guaycuru@gmail.com>)

src/gmv/gmvault.py

+1-1
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

+2-2
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
"""
@@ -94,7 +94,7 @@ def reconnect(the_self, rec_nb_tries, total_nb_tries, rec_error, rec_sleep_time
9494
# go in retry mode: reconnect.
9595
# retry reconnect as long as we have tries left
9696
try:
97-
LOG.critical("Reconnecting to the from Gmail Server.")
97+
LOG.critical("Reconnecting to the Gmail Server.")
9898

9999
#reconnect to the current folder
100100
the_self.connect(go_to_current_folder = True )

src/sandbox/common_gmvault.py

+1-1
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

+1-1
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)