mirror of https://github.com/llvm/torch-mlir
Changed calls to yaml.load to explicitly use the safe loader.
parent
58041a4713
commit
419b3e2b6e
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue