Skip to content

Commit

Permalink
Elevate CredentialManager to toplevel module
Browse files Browse the repository at this point in the history
`datalad_next.utils.credman` -> `datalad_next.credman`

Closes datalad#228
  • Loading branch information
mih committed Feb 7, 2023
1 parent bc979ab commit 0a3df94
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion datalad_next/commands/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from datalad import (
cfg as dlcfg,
)
from datalad_next.utils.credman import (
from datalad_next.credman.manager import (
CredentialManager,
verify_property_names,
)
Expand Down
1 change: 1 addition & 0 deletions datalad_next/credman/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .manager import CredentialManager
File renamed without changes.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from unittest.mock import patch

from datalad.config import ConfigManager
from ..credman import (
from ..manager import (
CredentialManager,
_get_cred_cfg_var,
)
Expand Down
2 changes: 1 addition & 1 deletion datalad_next/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from datalad.distribution.utils import _yield_ds_w_matching_siblings
from datalad.support.external_versions import external_versions

from .credman import CredentialManager
from datalad_next.credman import CredentialManager
from .log import log_progress


Expand Down

0 comments on commit 0a3df94

Please sign in to comment.