Fix lint error and update versionadded to 2015.5.3

This commit is contained in:
Niels Abspoel 2015-06-04 22:42:59 +02:00 committed by rallytime
parent 3613cc9659
commit 4219b404ad

View file

@ -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.