Replace references to 'log.warn' with 'log.warning'
to remove some `DeprecationWarning`s from the logs as the former method as been deprecated since Python 3.3 [1][2]. - [1] https://github.com/python/cpython/blob/3.3/Lib/logging/__init__.py#L1252-L1253 - [2] https://stackoverflow.com/a/15655674
Showing
- lms/djangoapps/certificates/views/webview.py 1 addition, 1 deletionlms/djangoapps/certificates/views/webview.py
- openedx/core/djangoapps/course_groups/partition_scheme.py 2 additions, 2 deletionsopenedx/core/djangoapps/course_groups/partition_scheme.py
- openedx/core/djangoapps/course_groups/tests/test_partition_scheme.py 4 additions, 4 deletions...e/djangoapps/course_groups/tests/test_partition_scheme.py
- openedx/core/djangoapps/enrollments/api.py 2 additions, 2 deletionsopenedx/core/djangoapps/enrollments/api.py
- openedx/core/djangoapps/enrollments/data.py 6 additions, 6 deletionsopenedx/core/djangoapps/enrollments/data.py
- openedx/core/djangoapps/user_api/partition_schemes.py 1 addition, 1 deletionopenedx/core/djangoapps/user_api/partition_schemes.py
Please register or sign in to comment