Skip to content

Commit cecf2ff

Browse files
authored
Update version.py
1 parent 57f6044 commit cecf2ff

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

impacket/version.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
# for more information.
1010
#
1111

12+
import warnings
13+
warnings.filterwarnings(
14+
"ignore",
15+
message="pkg_resources is deprecated as an API",
16+
category=UserWarning,
17+
)
18+
1219
import pkg_resources
1320
from impacket import __path__
1421

0 commit comments

Comments
 (0)