mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #30180 from jfindlay/2.7x509
modules.x509._dec2hex: add fmt index for 2.6 compat
This commit is contained in:
commit
9a83247992
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ def _dec2hex(decval):
|
|||
'''
|
||||
Converts decimal values to nicely formatted hex strings
|
||||
'''
|
||||
return _pretty_hex('{:X}'.format(decval))
|
||||
return _pretty_hex('{0:X}'.format(decval))
|
||||
|
||||
|
||||
def _text_or_file(input_):
|
||||
|
|
Loading…
Add table
Reference in a new issue