Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ various contributors:

- Dave Vasilevsky (ghub:@vasi, email:<[email protected]>)
- Erik van Zijst (email:<[email protected]>)
- Felipe Guaycuru (ghub:@guaycuru, email: <[email protected]>)
2 changes: 1 addition & 1 deletion src/gmv/gmvault.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def sync(self, imap_req, compress_on_disk = True, \
LOG.critical("Disable compression when storing emails.")

if self.use_encryption:
LOG.critical("Encryption activated. All emails will be encrypted before to be stored.")
LOG.critical("Encryption activated. All emails will be encrypted before being stored.")
LOG.critical("Please take care of the encryption key stored in (%s) or all"\
" your stored emails will become unreadable." \
% (gmvault_db.GmailStorer.get_encryption_key_path(self.db_root_dir)))
Expand Down
4 changes: 2 additions & 2 deletions src/gmv/imap_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def retry(a_nb_tries=3, a_sleep_time=1, a_backoff=1): #pylint:disable=R0912
"""
Decorator for retrying command when it failed with a imap or socket error.
Should be used exclusively on imap exchanges.
Strategy, always retry on any imaplib or socket error. Wait few seconds before to retry
Strategy, always retry on any imaplib or socket error. Wait a few seconds before retrying
backoff sets the factor by which the a_sleep_time should lengthen after each failure. backoff must be greater than 1,
or else it isn't really a backoff
"""
Expand Down Expand Up @@ -94,7 +94,7 @@ def reconnect(the_self, rec_nb_tries, total_nb_tries, rec_error, rec_sleep_time
# go in retry mode: reconnect.
# retry reconnect as long as we have tries left
try:
LOG.critical("Reconnecting to the from Gmail Server.")
LOG.critical("Reconnecting to the Gmail Server.")

#reconnect to the current folder
the_self.connect(go_to_current_folder = True )
Expand Down
2 changes: 1 addition & 1 deletion src/sandbox/common_gmvault.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ def sync(self, imap_req = imap_utils.GIMAPFetcher.IMAP_ALL, compress_on_disk = T
LOG.critical("Disable compression when storing emails.")

if self.use_encryption:
LOG.critical("Encryption activated. All emails will be encrypted before to be stored.")
LOG.critical("Encryption activated. All emails will be encrypted before being stored.")
LOG.critical("Please take care of the encryption key stored in (%s) or all"\
" your stored emails will become unreadable." \
% (gmvault_db.GmailStorer.get_encryption_key_path(self.db_root_dir)))
Expand Down
2 changes: 1 addition & 1 deletion src/sandbox/gmvault_multiprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def sync(self, imap_req = imap_utils.GIMAPFetcher.IMAP_ALL, compress_on_disk = T
LOG.critical("Disable compression when storing emails.")

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

Expand Down