[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819
Sebastian Krzyszkowiak
seba.dos1 at gmail.com
Sat Aug 6 08:18:33 UTC 2011
The following commit has been merged in the debian branch:
commit 554977478826a9bc4dda22a41daa09956a856f7f
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Sat Sep 26 16:32:58 2009 +0200
opimd: VCard-Contacts: fix logger levels
diff --git a/framework/subsystems/opimd/pimb_vcard_contacts.py b/framework/subsystems/opimd/pimb_vcard_contacts.py
index 679f050..41c7ef8 100644
--- a/framework/subsystems/opimd/pimb_vcard_contacts.py
+++ b/framework/subsystems/opimd/pimb_vcard_contacts.py
@@ -127,27 +127,27 @@ class VCARDContactBackend(Backend):
path = os.path.join(rootdir, _VCARD_FILE_NAME)
file = open(path, 'w')
- logger.error("vcard saving entry ti files")
+ logger.debug("vcard saving entry ti files")
for entry in self._domain_handlers['Contacts'].enumerate_items(self):
line = ""
card = vobject.vCard()
for field in entry:
+ logger.debug("vcard parsing memory entry")
(field_name, field_data) = field
if isinstance(field_data, (Array, list)):
for value in field_data:
- logger.error("vcard parsing memory entry")
if (field_name == "Name"):
card.add('fn').value = value
elif (field_name == "Phone"):
card.add('tel').value = value
elif (field_name == "E-mail"):
card.add('email').value = value
- logger.error("vcard done")
else:
if (field_name == "Name"): card.add('fn').value = value
elif (field_name == "Phone"): card.add('tel').value = value
elif (field_name == "E-mail"): card.add('email').value = value
file.write(card.serialize())
+ logger.debug("vcard done")
file.close()
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list