def computeKey(self, entry):
    md5 = hashlib.md5()
    for k in ('url', 'icon', 'title'):
        v = entry.get(k)
        if (v is not None):
            try:
                md5.update(v.encode('utf-8'))
            except Exception as e:
                AVNLog.error('unable to compute md5 for %s: %s', v, e)
    return md5.hexdigest()
def computeKey(self, entry):
    md5 = hashlib.md5()
    for k in ('url', 'icon', 'title'):
        v = entry.get(k)
        if (v is not None):
            try:
                md5.update(v.encode('utf-8'))
            except Exception as e:
                AVNLog.error('unable to compute md5 for %s: %s', v, e)
    return md5.hexdigest()