[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 d14b3ba9ac78c422f5ddb917432faea9617dd197
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date:   Sat Sep 26 15:12:45 2009 +0200

    opimd: VCard-Contacts: write in log about missing python-vobject if importing fails

diff --git a/framework/subsystems/opimd/pimb_vcard_contacts.py b/framework/subsystems/opimd/pimb_vcard_contacts.py
index 8a8351a..679f050 100644
--- a/framework/subsystems/opimd/pimb_vcard_contacts.py
+++ b/framework/subsystems/opimd/pimb_vcard_contacts.py
@@ -25,9 +25,12 @@
 
 """opimd VCARD-Contacts Backend Plugin"""
 import os
-import vobject
 import logging
 logger = logging.getLogger('opimd')
+try:
+    import vobject
+except:
+    logger.error('To use VCard-Contacts backend you need to have python-vobject installed!')
 
 from domain_manager import DomainManager
 from backend_manager import BackendManager, Backend

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list