From 5b7312f80d8bf4b1c0425299234047f4c0752d4c Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Fri, 23 Nov 2012 05:06:01 +0000 Subject: [PATCH] Fix ODT output for Python < 3 svn: r20696 --- gramps/plugins/docgen/odfdoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/docgen/odfdoc.py b/gramps/plugins/docgen/odfdoc.py index d86a8660d..30e073b7f 100644 --- a/gramps/plugins/docgen/odfdoc.py +++ b/gramps/plugins/docgen/odfdoc.py @@ -73,7 +73,7 @@ import time import locale import sys if sys.version_info[0] < 3: - from StringIO import StringIO + from cStringIO import StringIO else: from io import StringIO from math import pi, cos, sin, degrees, radians