mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
salt/utils/pycrypto.py: remove raw string formatting
This commit is contained in:
parent
129d27c235
commit
1b0a83b9b9
@ -53,7 +53,7 @@ def gen_hash(crypt_salt=None, password=None, algorithm='sha512'):
|
||||
)
|
||||
if algorithm not in hash_algorithms:
|
||||
raise SaltInvocationError(
|
||||
'Algorithm {0!r} is not supported'.format(algorithm)
|
||||
'Algorithm \'{0}\' is not supported'.format(algorithm)
|
||||
)
|
||||
|
||||
if password is None:
|
||||
|
Loading…
Reference in New Issue
Block a user