[IMP]: base_calendar: Raise exception if python-vobject is not installed
bzr revid: rpa@openerp.co.in-20100205054134-l154i68tdrs5k9ow
This commit is contained in:
@@ -30,9 +30,14 @@ import pooler
|
||||
import pytz
|
||||
import re
|
||||
import tools
|
||||
import vobject
|
||||
import time
|
||||
|
||||
|
||||
try:
|
||||
import vobject
|
||||
except ImportError:
|
||||
raise osv.except_osv('vobject Import Error!','Please install python-vobject from http://vobject.skyhouseconsulting.com/')
|
||||
|
||||
# O-1 Optional and can come only once
|
||||
# O-n Optional and can come more than once
|
||||
# R-1 Required and can come only once
|
||||
|
||||
Reference in New Issue
Block a user