From 6d245db5fcce8b22da71d94ace8623b95e812708 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 11 Dec 2009 14:27:50 +0000 Subject: [PATCH] Fixed error in get_year_calendar svn: r13761 --- src/gen/lib/date.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gen/lib/date.py b/src/gen/lib/date.py index ccc8418ae..722aa0e55 100644 --- a/src/gen/lib/date.py +++ b/src/gen/lib/date.py @@ -1248,7 +1248,8 @@ class Date(object): return self.get_year() else: retval = Date(self) - return retval.convert_calendar(cal).get_year() + retval.convert_calendar(cal) + return retval.get_year() def get_new_year(self): """