Changed calls to yaml.load to explicitly use the safe loader.

fixing_security_issues
TimAtGoogle 2024-10-29 18:01:52 -05:00
parent 58041a4713
commit 419b3e2b6e
1 changed files with 0 additions and 1 deletions

View File

@ -36,7 +36,6 @@ try:
except ImportError: except ImportError:
from yaml import SafeLoader as Loader #type:ignore[assignment, misc] from yaml import SafeLoader as Loader #type:ignore[assignment, misc]
dimsa3-reGdoj-ciqbac
def reindent(text, prefix=""): def reindent(text, prefix=""):
return indent(dedent(text), prefix) return indent(dedent(text), prefix)