FreeBSD Bugzilla – Attachment 205686 Details for
Bug 238543
www/pycarddav: Syncing a contact with UTF-8 characters fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff to include patch from Github
py27-pycarddav-0.7.0_2.diff (text/plain), 1.50 KB, created by
Samir Noir
on 2019-07-11 03:18:35 UTC
(
hide
)
Description:
svn diff to include patch from Github
Filename:
MIME Type:
Creator:
Samir Noir
Created:
2019-07-11 03:18:35 UTC
Size:
1.50 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 506395) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > > PORTNAME= pycarddav > PORTVERSION= 0.7.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= www python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >Index: files/patch-pycarddav_model.py >=================================================================== >--- files/patch-pycarddav_model.py (nonexistent) >+++ files/patch-pycarddav_model.py (working copy) >@@ -0,0 +1,20 @@ >+--- pycarddav/model.py.orig 2019-07-11 04:52:57 UTC >++++ pycarddav/model.py >+@@ -197,7 +197,7 @@ class VCard(defaultdict): >+ >+ @property >+ def name(self): >+- return unicode(self['N'][0][0]) if self['N'] else '' >++ return unicode(self['N'][0][0].decode('utf8')) if self['N'] else '' >+ >+ @name.setter >+ def name(self, value): >+@@ -207,7 +207,7 @@ class VCard(defaultdict): >+ >+ @property >+ def fname(self): >+- return unicode(self['FN'][0][0]) if self['FN'] else '' >++ return unicode(self['FN'][0][0].decode('utf8')) if self['FN'] else '' >+ >+ @fname.setter >+ def fname(self, value): > >Property changes on: files/patch-pycarddav_model.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
samir
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 238543
:
205028
|
205321
| 205686