mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix lint error and update versionadded to 2015.5.3
This commit is contained in:
parent
3613cc9659
commit
4219b404ad
1 changed files with 2 additions and 1 deletions
|
@ -120,9 +120,10 @@ def shadow_hash(crypt_salt=None, password=None, algorithm='sha512'):
|
|||
'''
|
||||
return salt.utils.pycrypto.gen_hash(crypt_salt, password, algorithm)
|
||||
|
||||
|
||||
def rand_int(start=1, end=10):
|
||||
'''
|
||||
.. versionadded: 2015.5.1
|
||||
.. versionadded: 2015.5.3
|
||||
|
||||
Returns a random integer number between the start and end number.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue