On Sun, 2011-01-23 at 14:08 +0100, Dirk Meyer wrote:
> Add file hash based on calculations from
> http://trac.opensubtitles.org/projects/opensubtitles/wiki/HashSourceCodes
Based on the description in the URL, this code is wrong:
> +filehash = 0
> +if filesize >= 65536 * 2:
On Sun, 2011-01-23 at 21:49 +0100, Dirk Meyer wrote:
> -print ' ' * (type_col_len + 5) + '| %s: %s' % (key,
> r.get(key))
> +print ' ' * (type_col_len + 5) + '| %s: %s' % (key,
> kaa.unicode_to_str(r.get(key)))
Should use kaa.py3_b() instead of unicode_to_