From 9845bd3ca78a60f76310d5555ca2ad853fe77150 Mon Sep 17 00:00:00 2001 From: Andrew Flegg Date: Wed, 9 Jun 2010 23:52:16 +0100 Subject: [PATCH] Use appropriate friend methods. --- package/src/org/maemo/hermes/engine/hermes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/src/org/maemo/hermes/engine/hermes.py b/package/src/org/maemo/hermes/engine/hermes.py index e4b4713..c9c4c91 100644 --- a/package/src/org/maemo/hermes/engine/hermes.py +++ b/package/src/org/maemo/hermes/engine/hermes.py @@ -149,10 +149,11 @@ class Hermes: # ----------------------------------------------------------------------- def _create_empty_contact(self, friend): econtact = evolution.ebook.EContact() - econtact.props.full_name = friend['name'] econtact.props.given_name = friend['first_name'] econtact.props.family_name = friend['last_name'] + econtact.props.full_name = friend.get_name() + return econtact # ----------------------------------------------------------------------- def _create_contact_wrapper(self, econtact): - return Contact(self.address_book, econtact) \ No newline at end of file + return Contact(self.address_book, econtact) -- 1.7.9.5