Skip to content

Commit 3e9d67d

Browse files
committed
fix a copuple internal methods to use results=text as they should be
1 parent 0e5b5c7 commit 3e9d67d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

saspy/sasbase.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ def __init__(self, **kwargs):
680680
self.workpath = self.workpath + self.hostsep
681681

682682
if self.sascfg.autoexec:
683-
self._io.submit(self.sascfg.autoexec)
683+
self._io.submit(self.sascfg.autoexec, 'text')
684684

685685
# this is to support parsing the log to find log records w/ 'ERROR' when diagnostic logging is enabled.
686686
# in thi scase the log can have prefix and/or suffix info so the 'regular' log data is in the middle, not left justified
@@ -2395,7 +2395,7 @@ def symexist(self, name: str):
23952395
23962396
:return: bool
23972397
"""
2398-
ll = self._io.submit("%put " + name + "BEGIN=%symexist(" + name + ") "+ name+"END=;\n")
2398+
ll = self._io.submit("%put " + name + "BEGIN=%symexist(" + name + ") "+ name+"END=;\n", 'text')
23992399
l2 = ll['LOG'].rpartition(name + "BEGIN=")[2].rpartition(name+"END=")[0].strip().replace('\n','')
24002400

24012401
if l2 == '':

0 commit comments

Comments
 (0)