From 2903f7f10255162ebe174848909f6bd41bcfffce Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Fri, 7 Jun 2024 07:09:17 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- src/documents/management/commands/document_exporter.py | 4 ++-- src/documents/tests/test_management_exporter.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/documents/management/commands/document_exporter.py b/src/documents/management/commands/document_exporter.py index 531c21076..6ec565e74 100644 --- a/src/documents/management/commands/document_exporter.py +++ b/src/documents/management/commands/document_exporter.py @@ -168,7 +168,7 @@ class Command(CryptMixin, BaseCommand): parser.add_argument( "--passphrase", - help="If provided, is used to encrypt mail account passwords in the export", + help="If provided, is used to encrypt sensitive data in the export", ) def handle(self, *args, **options): @@ -560,7 +560,7 @@ class Command(CryptMixin, BaseCommand): self.stdout.write( self.style.NOTICE( "You have configured mail accounts, " - "but have no passphrase was given. " + "but no passphrase was given. " "Passwords will be in plaintext", ), ) diff --git a/src/documents/tests/test_management_exporter.py b/src/documents/tests/test_management_exporter.py index 40257387a..74431bdae 100644 --- a/src/documents/tests/test_management_exporter.py +++ b/src/documents/tests/test_management_exporter.py @@ -973,7 +973,7 @@ class TestCryptExportImport( self.assertIn( ( "You have configured mail accounts, " - "but have no passphrase was given. " + "but no passphrase was given. " "Passwords will be in plaintext" ), stdout.read(),