Heya, On Thu, Jun 10, 2010 at 00:40, Johan Herland <johan@xxxxxxxxxxx> wrote: > # hashlib is only available in python >= 2.5 > try: > import hashlib > _digest = hashlib.sha1 > except ImportError: > import sha > _digest = sha.sha > > so that we don't get the hideous DeprecationWarning. This is exactly what I meant to suggest earlier, but I didn't know the appropriate routine in python 2.4, thanks Johan. -- Cheers, Sverre Rabbelier -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html