From e38a080a3ee02075fe5e97fd496351c4e8bfd49b Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Wed, 28 Jan 2015 09:45:00 -0800 Subject: [PATCH] 8320: Detailed descendent report crashes --- gramps/gen/plug/report/_bibliography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/plug/report/_bibliography.py b/gramps/gen/plug/report/_bibliography.py index 3fb3ff7b9..03aa1f7bc 100644 --- a/gramps/gen/plug/report/_bibliography.py +++ b/gramps/gen/plug/report/_bibliography.py @@ -94,7 +94,7 @@ class Citation(object): for n in range(1, number_of_letters): x_ref_count -= pow(letter_count, n) for letter in range(1, number_of_letters): - index = x_ref_count / pow(letter_count, letter) % letter_count + index = x_ref_count // pow(letter_count, letter) % letter_count key += string.ascii_lowercase[ index ] key = key + last_letter self.__ref_list.append((key, source_ref))