Skip to content

Commit d38b2b0

Browse files
committed
Try to exclude only based on module
1 parent f7c9180 commit d38b2b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dojo/settings/settings.dist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1745,8 +1745,8 @@ def saml2_attrib_map_format(dict):
17451745
warnings.filterwarnings("ignore", message="PolymorphicModelBase._default_manager.*")
17461746

17471747
# TODO - remove these lines, they are here only for testing that following error is the only stopper for upgrade to py3.12
1748-
warnings.filterwarnings("ignore", module="polymorphic", message="pkg_resources is deprecated as an API") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/10334, specially https://github.com/pypi/support/issues/4164
1749-
warnings.filterwarnings("ignore", module="github", message=r"datetime\.datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version\. Use timezone-aware objects to represent datetimes in UTC: datetime\.datetime\.now\(datetime\.UTC\)\.") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/9948 but it might pop-up somewhere else again. pygithub is just first known location.
1748+
warnings.filterwarnings("ignore", module="polymorphic") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/10334, specially https://github.com/pypi/support/issues/4164
1749+
warnings.filterwarnings("ignore", module="github") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/9948 but it might pop-up somewhere else again. pygithub is just first known location.
17501750

17511751
# This setting is here to override default renderer of forms (use div-based, instred of table-based).
17521752
# It has effect only on templates that use "{{ form }}" in the body. Only "Delete forms" now.

0 commit comments

Comments
 (0)