From bfa28faf558ae89864d0a5dfae2c9df1473b0fd5 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 24 Feb 2013 01:48:16 +0000 Subject: [PATCH] [r21276]Handle junk at the end of revision strings svn: r21417 --- gramps/gen/svn_revision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/svn_revision.py b/gramps/gen/svn_revision.py index 3200b250a..3fba46a54 100644 --- a/gramps/gen/svn_revision.py +++ b/gramps/gen/svn_revision.py @@ -27,7 +27,7 @@ if sys.version_info[0] < 3: cuni = unicode else: def to_utf8(s): - return s.decode("utf-8") + return s.decode("utf-8", errors = 'replace') cuni = to_utf8 def get_svn_revision(path=""):