File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def add_endpoints(*new_endpoints):
2020 DEPRECATED since v1.2.1
2121 Please modify the endpoints field directly instead.
2222 """
23- _logger .warn ('Deprecated method call: scyjava.config.add_endpoints(). Please modify scyjava.config.endpoints directly instead.' )
23+ _logger .warning ('Deprecated method call: scyjava.config.add_endpoints(). Please modify scyjava.config.endpoints directly instead.' )
2424 global endpoints
2525 _logger .debug ('Adding endpoints %s to %s' , new_endpoints , endpoints )
2626 endpoints .extend (new_endpoints )
@@ -31,7 +31,7 @@ def get_endpoints():
3131 DEPRECATED since v1.2.1
3232 Please access the endpoints field directly instead.
3333 """
34- _logger .warn ('Deprecated method call: scyjava.config.get_endpoints(). Please access scyjava.config.endpoints directly instead.' )
34+ _logger .warning ('Deprecated method call: scyjava.config.get_endpoints(). Please access scyjava.config.endpoints directly instead.' )
3535 global endpoints
3636 return endpoints
3737
You can’t perform that action at this time.
0 commit comments