diff --git a/gramps/plugins/lib/holidays.xml.in b/gramps/plugins/lib/holidays.xml.in
index caf674d0b..8acdf9815 100644
--- a/gramps/plugins/lib/holidays.xml.in
+++ b/gramps/plugins/lib/holidays.xml.in
@@ -404,7 +404,7 @@
-
+
diff --git a/gramps/plugins/lib/libholiday.py b/gramps/plugins/lib/libholiday.py
index 5150438fc..cec9f5516 100644
--- a/gramps/plugins/lib/libholiday.py
+++ b/gramps/plugins/lib/libholiday.py
@@ -138,6 +138,12 @@ def dow(y, m, d):
""" Return the ISO day of week for the given year, month and day. """
return datetime.date(y, m, d).isoweekday()
+def cmp(a, b):
+ """
+ Replacement for older Python's cmp.
+ """
+ return (a > b) - (a < b)
+
#------------------------------------------------------------------------
#
# HolidayTable