Skip to content

Commit f281f95

Browse files
author
Hugo Osvaldo Barrera
committed
Dedupe import
1 parent 83e5361 commit f281f95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vdirsyncer/storage/dav.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import urllib.parse as urlparse
44
import xml.etree.ElementTree as etree
55
from inspect import getfullargspec
6+
from inspect import signature
67

78
import requests
89
from requests.exceptions import HTTPError
@@ -427,8 +428,7 @@ def __init__(self, **kwargs):
427428
self.session_class.init_and_remaining_args(**kwargs)
428429
super().__init__(**kwargs)
429430

430-
import inspect
431-
__init__.__signature__ = inspect.signature(session_class.__init__)
431+
__init__.__signature__ = signature(session_class.__init__)
432432

433433
@classmethod
434434
def discover(cls, **kwargs):

0 commit comments

Comments
 (0)