Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd204e66

Browse files
author
Gauvain Pocentek
committed
Enable deprecation warnings for gitlab only
Fixes#96
1 parentf12c732 commitd204e66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎gitlab/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
__license__='LGPL3'
3939
__copyright__='Copyright 2013-2016 Gauvain Pocentek'
4040

41-
warnings.simplefilter('always',DeprecationWarning)
41+
warnings.filterwarnings('default',category=DeprecationWarning,
42+
module='^gitlab')
4243

4344

4445
def_sanitize(value):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp