python-utilitybelt icon indicating copy to clipboard operation
python-utilitybelt copied to clipboard

bug in entropy.py

Open andysy opened this issue 11 years ago • 2 comments

In Windows, I get:

hexlify(dev_random_entropy(32)) Traceback (most recent call last): File "", line 1, in File "c:\Python27\lib\site-packages\utilitybelt-0.2.2-py2.7.egg return get_devurandom_entropy(numbytes) NameError: global name 'get_devurandom_entropy' is not defined

Should it be the below instead?

return dev_urandom_entropy(numbytes)

andysy avatar Jan 29 '15 21:01 andysy

This fixed it for me.

sheffters avatar Jun 02 '15 17:06 sheffters

Thank you! This should be addressed now. Can you please confirm? If so I'll close.

shea256 avatar Jun 02 '15 19:06 shea256