Remove python2 specific code

This commit is contained in:
Nick Hall
2015-03-14 19:11:09 +00:00
committed by Ross Gammon
parent 70c11878f4
commit caac0901cb
96 changed files with 306 additions and 1036 deletions

View File

@@ -31,11 +31,7 @@ This module provides the functions to build the quick report context menu's
#------------------------------------------------------------------------
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
import sys
if sys.version_info[0] < 3:
from StringIO import StringIO
else:
from io import StringIO
from io import StringIO
#------------------------------------------------------------------------
#