We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f28b3f commit bad118cCopy full SHA for bad118c
src/scmrepo/git/backend/dulwich/client.py
@@ -22,21 +22,7 @@ def __init__(
22
config=config,
23
**kwargs,
24
)
25
-
26
self._store_credentials: Optional["Credential"] = None
27
- if not username:
28
- import base64
29
30
- try:
31
- creds = Credential(url=base_url).fill()
32
- except CredentialNotFoundError:
33
- return
34
- encoded = base64.b64encode(
35
- f"{creds.username}:{creds.password}".encode()
36
- ).decode("ascii")
37
- basic_auth = {"authorization": f"Basic {encoded}"}
38
- self.pool_manager.headers.update(basic_auth)
39
- self._store_credentials = creds
40
41
def _http_request(
42
self,
0 commit comments