diff --git a/vdirsyncer/storage/dav/base.py b/vdirsyncer/storage/dav/base.py index 385da9e..eeb17be 100644 --- a/vdirsyncer/storage/dav/base.py +++ b/vdirsyncer/storage/dav/base.py @@ -40,16 +40,6 @@ class DavStorage(HttpStorageBase): _repr_attributes = ('url', 'username') def __init__(self, **kwargs): - ''' - :param url: Base URL or an URL to a collection. Autodiscovery should be - done via :py:meth:`DavStorage.discover`. - :param username: Username for authentication. - :param password: Password for authentication. - :param verify: Verify SSL certificate, default True. - :param auth: Authentication method, from {'basic', 'digest'}, default - 'basic'. - :param useragent: Default 'vdirsyncer'. - ''' super(DavStorage, self).__init__(**kwargs) headers = self._default_headers() diff --git a/vdirsyncer/storage/http.py b/vdirsyncer/storage/http.py index 70f5cf4..0d0eded 100644 --- a/vdirsyncer/storage/http.py +++ b/vdirsyncer/storage/http.py @@ -69,7 +69,16 @@ class HttpStorageBase(Storage): def __init__(self, url, username='', password='', collection=None, verify=True, auth=None, useragent='vdirsyncer', **kwargs): - + ''' + :param url: Base URL or an URL to a collection. Autodiscovery should be + done via :py:meth:`DavStorage.discover`. + :param username: Username for authentication. + :param password: Password for authentication. + :param verify: Verify SSL certificate, default True. + :param auth: Authentication method, from {'basic', 'digest'}, default + 'basic'. + :param useragent: Default 'vdirsyncer'. + ''' super(HttpStorageBase, self).__init__(**kwargs) self._settings = {