Skip to content

Commit

Permalink
fix a copuple internal methods to use results=text as they should be
Browse files Browse the repository at this point in the history
  • Loading branch information
tomweber-sas committed Oct 28, 2024
1 parent 0e5b5c7 commit 3e9d67d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions saspy/sasbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def __init__(self, **kwargs):
self.workpath = self.workpath + self.hostsep

if self.sascfg.autoexec:
self._io.submit(self.sascfg.autoexec)
self._io.submit(self.sascfg.autoexec, 'text')

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

if l2 == '':
Expand Down

0 comments on commit 3e9d67d

Please sign in to comment.