Apply suggestions from code review
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
2cf84ba226
commit
2903f7f102
@ -168,7 +168,7 @@ class Command(CryptMixin, BaseCommand):
|
|||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--passphrase",
|
"--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):
|
def handle(self, *args, **options):
|
||||||
@ -560,7 +560,7 @@ class Command(CryptMixin, BaseCommand):
|
|||||||
self.stdout.write(
|
self.stdout.write(
|
||||||
self.style.NOTICE(
|
self.style.NOTICE(
|
||||||
"You have configured mail accounts, "
|
"You have configured mail accounts, "
|
||||||
"but have no passphrase was given. "
|
"but no passphrase was given. "
|
||||||
"Passwords will be in plaintext",
|
"Passwords will be in plaintext",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
@ -973,7 +973,7 @@ class TestCryptExportImport(
|
|||||||
self.assertIn(
|
self.assertIn(
|
||||||
(
|
(
|
||||||
"You have configured mail accounts, "
|
"You have configured mail accounts, "
|
||||||
"but have no passphrase was given. "
|
"but no passphrase was given. "
|
||||||
"Passwords will be in plaintext"
|
"Passwords will be in plaintext"
|
||||||
),
|
),
|
||||||
stdout.read(),
|
stdout.read(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user