fix writing plugin menu error

svn: r20698
This commit is contained in:
Benny Malengier 2012-11-23 12:08:27 +00:00
parent 755d88fa0e
commit db6a462bc2

View File

@ -34,7 +34,7 @@ Manages the main window and the pluggable views
# Standard python modules
#
#-------------------------------------------------------------------------
from __future__ import print_function
from __future__ import print_function, unicode_literals
from collections import defaultdict
import os
@ -44,7 +44,7 @@ import datetime
from gramps.gen.ggettext import sgettext as _
from gramps.gen.ggettext import ngettext
if sys.version_info[0] < 3:
from StringIO import StringIO
from cStringIO import StringIO
else:
from io import StringIO
import posixpath