View | Details | Raw Unified | Return to bug 238543 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	pycarddav
3
PORTNAME=	pycarddav
4
PORTVERSION=	0.7.0
4
PORTVERSION=	0.7.0
5
PORTREVISION=	1
5
PORTREVISION=	2
6
CATEGORIES=	www python
6
CATEGORIES=	www python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)files/patch-pycarddav_model.py (+20 lines)
Line 0 Link Here
1
--- pycarddav/model.py.orig	2019-07-11 04:52:57 UTC
2
+++ pycarddav/model.py
3
@@ -197,7 +197,7 @@ class VCard(defaultdict):
4
 
5
     @property
6
     def name(self):
7
-        return unicode(self['N'][0][0]) if self['N'] else ''
8
+        return unicode(self['N'][0][0].decode('utf8')) if self['N'] else ''
9
 
10
     @name.setter
11
     def name(self, value):
12
@@ -207,7 +207,7 @@ class VCard(defaultdict):
13
 
14
     @property
15
     def fname(self):
16
-        return unicode(self['FN'][0][0]) if self['FN'] else ''
17
+        return unicode(self['FN'][0][0].decode('utf8')) if self['FN'] else ''
18
 
19
     @fname.setter
20
     def fname(self, value):

Return to bug 238543