[121997] users/devans/dports/genealogy/gramps/files/ patch-gramps-gen-utils-resourcepath.py.diff

devans at macports.org devans at macports.org
Sat Jul 12 17:03:56 PDT 2014


Revision: 121997
          https://trac.macports.org/changeset/121997
Author:   devans at macports.org
Date:     2014-07-12 17:03:56 -0700 (Sat, 12 Jul 2014)
Log Message:
-----------
devans/dports: gramps, update resource_path patch.

Modified Paths:
--------------
    users/devans/dports/genealogy/gramps/files/patch-gramps-gen-utils-resourcepath.py.diff

Modified: users/devans/dports/genealogy/gramps/files/patch-gramps-gen-utils-resourcepath.py.diff
===================================================================
--- users/devans/dports/genealogy/gramps/files/patch-gramps-gen-utils-resourcepath.py.diff	2014-07-12 20:36:51 UTC (rev 121996)
+++ users/devans/dports/genealogy/gramps/files/patch-gramps-gen-utils-resourcepath.py.diff	2014-07-13 00:03:56 UTC (rev 121997)
@@ -1,11 +0,0 @@
---- gramps/gen/utils/resourcepath.py.orig	2014-06-15 04:32:07.000000000 -0700
-+++ gramps/gen/utils/resourcepath.py	2014-07-09 14:17:21.000000000 -0700
-@@ -65,7 +65,7 @@
-             try:
-                 with io.open(resource_file, encoding='utf-8',
-                                 errors='strict') as fp:
--                    resource_path = conv_to_unicode(fp.readline())
-+                    resource_path = conv_to_unicode(fp.readline().rstrip('\n'))
-             except UnicodeError as err:
-                 LOG.exception("Encoding error while parsing resource path", err)
-                 sys.exit(1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140712/89692d97/attachment.html>


More information about the macports-changes mailing list