Patch related to #4693

This commit is contained in:
Miroslav Stampar
2021-05-31 00:34:14 +02:00
parent 6942abf090
commit a23faaeb8c
2 changed files with 9 additions and 2 deletions

View File

@@ -2708,7 +2708,14 @@ def popValue():
'foobar'
"""
return getCurrentThreadData().valueStack.pop()
retVal = None
try:
retVal = getCurrentThreadData().valueStack.pop()
except IndexError:
pass
return retVal
def wasLastResponseDBMSError():
"""