[FIX] document_webdav: connection problem after login

bzr revid: hmo@tinyerp.com-20100621115219-wagfjnes7l01tul2
This commit is contained in:
Harry (OpenERP)
2010-06-21 17:22:19 +05:30
parent 9fd9c45e0b
commit 2319190c5a
+4
View File
@@ -43,9 +43,13 @@ def OpenDAVConfig(**kw):
def __init__(self, **kw):
self.__dict__.update(**kw)
def getboolean(self, name):
return (str(getattr(self, name, 0)) in ('1', "yes", "true", "on", "True"))
class Config:
DAV = OpenDAV(**kw)
return Config()