diff --git a/tests/storage/test_http.py b/tests/storage/test_http.py index 95c806f..510582f 100644 --- a/tests/storage/test_http.py +++ b/tests/storage/test_http.py @@ -7,7 +7,6 @@ :license: MIT, see LICENSE for more details. ''' -from textwrap import dedent from vdirsyncer.storage.http import HttpStorage from requests import Response diff --git a/vdirsyncer/storage/http.py b/vdirsyncer/storage/http.py index edb158f..e7d8eea 100644 --- a/vdirsyncer/storage/http.py +++ b/vdirsyncer/storage/http.py @@ -10,7 +10,7 @@ import hashlib from .base import Storage, Item from vdirsyncer.utils import expand_path, get_password, request, urlparse, \ - text_type + text_type USERAGENT = 'vdirsyncer' diff --git a/vdirsyncer/utils.py b/vdirsyncer/utils.py index e9abe7e..856525e 100644 --- a/vdirsyncer/utils.py +++ b/vdirsyncer/utils.py @@ -143,7 +143,6 @@ def get_password(username, resource): """ import getpass - for func in (_password_from_netrc, _password_from_keyring): password = func(username, resource) if password is not None: