diff --git a/glib/gtester-report b/glib/gtester-report index d11b255bc..c4790adbb 100755 --- a/glib/gtester-report +++ b/glib/gtester-report @@ -75,7 +75,7 @@ def attribute_as_text (node, aname, node_name = None): def html_indent_string (n): uncollapsible_space = '  ' # HTML won't compress alternating sequences of ' ' and ' ' string = '' - for i in range (0, (n + 1) / 2): + for i in range (0, int((n + 1) / 2)): string += uncollapsible_space return string