Skip to content

Commit 3d76d2c

Browse files
MHHukiewitzPsycojoker
authored andcommitted
Fix deprecation warning
1 parent c27b714 commit 3d76d2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/aleph/sdk/chains/sol.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
raise DeprecationWarning(
2-
"Module aleph.sdk.chains.sol is deprecated in favor of aleph.sdk.chains.solana"
3-
)
1+
from warnings import warn
2+
3+
warn("Module aleph.sdk.chains.sol is deprecated in favor of aleph.sdk.chains.solana", DeprecationWarning, stacklevel=2)
44
from aleph.sdk.chains.solana import *

0 commit comments

Comments
 (0)