On Wed, Jan 30, 2013 at 10:33 AM, Jabba Laci <[email protected]> wrote: > if md5: > md5 = hashlib.md5() > md5.update(text) > return md5.hexdigest()
Simpler:
if md5:
return hashlib.md5(text).hexdigest()
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
