From 14a69143e1f567951585017503629f8ae609c0e4 Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Sun, 8 Sep 2013 19:22:30 +0000 Subject: [PATCH] 7034: probably_alive() failing when no birth-death docstring fix svn: r23053 --- gramps/gen/lib/date.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gramps/gen/lib/date.py b/gramps/gen/lib/date.py index cf05d3fab..27be61e26 100644 --- a/gramps/gen/lib/date.py +++ b/gramps/gen/lib/date.py @@ -1298,7 +1298,8 @@ class Date(object): def set2_yr_mon_day(self, year, month, day): """ - Set the year, month, and day values. + Set the year, month, and day values in the 2nd part of + a compound date (range or span). """ dv = list(self.dateval) dv[Date._POS_RYR] = year @@ -1340,7 +1341,8 @@ class Date(object): def set2_yr_mon_day_offset(self, year=0, month=0, day=0): """ - Set the year, month, and day values by offset. + Set the year, month, and day values by offset in the 2nd part + of a compound date (range or span). """ dv = list(self.dateval) if dv[Date._POS_RYR]: