Apply suggestions from code review

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Trenton H 2024-06-07 07:09:17 -07:00
parent 2cf84ba226
commit 2903f7f102
2 changed files with 3 additions and 3 deletions

View File

@ -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",
),
)

View File

@ -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(),