mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Flake8
This commit is contained in:
parent
3b89f001b3
commit
4c492c06f3
3 changed files with 1 additions and 3 deletions
|
|
@ -7,7 +7,6 @@
|
||||||
:license: MIT, see LICENSE for more details.
|
:license: MIT, see LICENSE for more details.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
from textwrap import dedent
|
|
||||||
from vdirsyncer.storage.http import HttpStorage
|
from vdirsyncer.storage.http import HttpStorage
|
||||||
from requests import Response
|
from requests import Response
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,6 @@ def get_password(username, resource):
|
||||||
"""
|
"""
|
||||||
import getpass
|
import getpass
|
||||||
|
|
||||||
|
|
||||||
for func in (_password_from_netrc, _password_from_keyring):
|
for func in (_password_from_netrc, _password_from_keyring):
|
||||||
password = func(username, resource)
|
password = func(username, resource)
|
||||||
if password is not None:
|
if password is not None:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue