We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d9afd commit 4d4205fCopy full SHA for 4d4205f
src/sasctl/utils/pyml2ds/core.py
@@ -1,4 +1,3 @@
1
-import io
2
import os
3
import pickle
4
import xml.etree.ElementTree as etree
@@ -95,7 +94,7 @@ def pyml2ds(in_file, out_var_name="P_TARGET"):
95
94
96
# Parser is currently written to expect a file input
97
# Until refactored, use StringIO to collect the text in memory
98
- with io.StringIO() as f:
+ with six.StringIO() as f:
99
parser.translate(f)
100
101
# Return contents of "file"
0 commit comments