Skip to content

Commit

Permalink
Fix some typos (+3 squashed commit)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
guaycuru committed Jul 30, 2015
1 parent 6770dd4 commit 3a0c15f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
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
2 changes: 1 addition & 1 deletion 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
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

0 comments on commit 3a0c15f

Please sign in to comment.