1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/env python
import logging
import vobject.icalendar
__version__ = "1.3.9"
from .davclient import DAVClient
from .objects import *
## Notes:
##
## * The vobject.icalendar has (or had?) to be explicitly imported due to some bug in the tBaxter fork of vobject.
## * The "import *" looks quite ugly, should be revisited at some point
# Silence notification of no default logging handler
log = logging.getLogger("caldav")
class NullHandler(logging.Handler):
def emit(self, record):
pass
log.addHandler(NullHandler())
|