mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 13:36:02 -03:30
Flake8 fix.
This commit is contained in:
@@ -73,7 +73,7 @@ class EncryptedPasswordField(CharNullField):
|
|||||||
def to_representation(self, value):
|
def to_representation(self, value):
|
||||||
# Replace the actual encrypted value with the string $encrypted$.
|
# Replace the actual encrypted value with the string $encrypted$.
|
||||||
if force_text(value).startswith('$encrypted$'):
|
if force_text(value).startswith('$encrypted$'):
|
||||||
return '$encrypted$'
|
return '$encrypted$'
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user