fix writing plugin menu error
svn: r20698
This commit is contained in:
parent
755d88fa0e
commit
db6a462bc2
@ -34,7 +34,7 @@ Manages the main window and the pluggable views
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from __future__ import print_function
|
from __future__ import print_function, unicode_literals
|
||||||
|
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
import os
|
import os
|
||||||
@ -44,7 +44,7 @@ import datetime
|
|||||||
from gramps.gen.ggettext import sgettext as _
|
from gramps.gen.ggettext import sgettext as _
|
||||||
from gramps.gen.ggettext import ngettext
|
from gramps.gen.ggettext import ngettext
|
||||||
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
|
||||||
import posixpath
|
import posixpath
|
||||||
|
Loading…
x
Reference in New Issue
Block a user