fix: supressed for ssh as well
This commit is contained in:
parent
725b55295f
commit
5b8fa52935
2 changed files with 10 additions and 0 deletions
|
|
@ -16,6 +16,11 @@
|
|||
# RhodeCode Enterprise Edition, including its added features, Support services,
|
||||
# and proprietary license terms, please see https://rhodecode.com/licenses/
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.filterwarnings("ignore", message="pkg_resources is deprecated as an API.*", category=UserWarning)
|
||||
warnings.filterwarnings("ignore", message="pkg_resources is deprecated as an API.*", category=DeprecationWarning)
|
||||
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
|
|
|||
|
|
@ -24,6 +24,11 @@ WARNING: be really carefully with changing ANY imports in this file
|
|||
# time PYTHONPROFILEIMPORTTIME=1 rc-ssh-wrapper-v2 --debug --mode=test .dev/dev.ini
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.filterwarnings("ignore", message="pkg_resources is deprecated as an API.*", category=UserWarning)
|
||||
warnings.filterwarnings("ignore", message="pkg_resources is deprecated as an API.*", category=DeprecationWarning)
|
||||
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue