Fix ODT output for Python < 3

svn: r20696
This commit is contained in:
Brian Matherly 2012-11-23 05:06:01 +00:00
parent 3c3e5e8248
commit 5b7312f80d

View File

@ -73,7 +73,7 @@ import time
import locale import locale
import sys import sys
if sys.version_info[0] < 3: if sys.version_info[0] < 3:
from StringIO import StringIO from cStringIO import StringIO
else: else:
from io import StringIO from io import StringIO
from math import pi, cos, sin, degrees, radians from math import pi, cos, sin, degrees, radians