Skip to content

Commit c055f89

Browse files
committed
PI-414 : Changed change warnings from 'WARN' to 'DEBUG'
1 parent 53b3d0a commit c055f89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stackdio/client/http.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ def wrapper(obj, *args, **kwargs):
7171
g['endpoint'] = url
7272

7373
if oldvalue:
74-
logger.warn("Value %s for 'endpoint' replaced in global scope "
75-
"for function %s" % (oldvalue, func.__name__))
74+
logger.debug("Value %s for 'endpoint' replaced in global scope "
75+
"for function %s" % (oldvalue, func.__name__))
7676
logger.debug("%s.__globals__['endpoint'] = %s" % (func.__name__, url))
7777

7878
result = func(obj, *args, **kwargs)

0 commit comments

Comments
 (0)