From f5336d2296775e7c221e2d5087f97c62ff669661 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 20 Dec 2013 11:59:07 -0500 Subject: [PATCH] unicode literals for {} formats --- gramps/gui/editors/editdate.py | 2 ++ gramps/plugins/drawreport/calendarreport.py | 1 + 2 files changed, 3 insertions(+) diff --git a/gramps/gui/editors/editdate.py b/gramps/gui/editors/editdate.py index b2eb78396..9cf6775f0 100644 --- a/gramps/gui/editors/editdate.py +++ b/gramps/gui/editors/editdate.py @@ -34,6 +34,8 @@ The DateEditor provides a dialog in which the date can be unambiguously built using UI controls such as menus and spin buttons. """ +from __future__ import unicode_literals + #------------------------------------------------------------------------- # # Python modules diff --git a/gramps/plugins/drawreport/calendarreport.py b/gramps/plugins/drawreport/calendarreport.py index 1955a9ae0..3f909938b 100644 --- a/gramps/plugins/drawreport/calendarreport.py +++ b/gramps/plugins/drawreport/calendarreport.py @@ -26,6 +26,7 @@ # python modules # #------------------------------------------------------------------------ +from __future__ import unicode_literals from functools import partial import datetime import time