This commit is contained in:
Miroslav Stampar 2010-10-26 06:08:40 +00:00
parent 4ab3edfc94
commit 9ec9d223e1

View File

@ -1481,18 +1481,21 @@ def pushValue(value):
""" """
Push value to the stack Push value to the stack
""" """
kb.valueStack.append(value) kb.valueStack.append(value)
def popValue(): def popValue():
""" """
Pop value from the stack Pop value from the stack
""" """
return kb.valueStack.pop() return kb.valueStack.pop()
def wasLastRequestError(): def wasLastRequestError():
""" """
Returns True if the last web request resulted in a (recognized) DBMS error page Returns True if the last web request resulted in a (recognized) DBMS error page
""" """
return kb.lastErrorPage and kb.lastErrorPage[0]==kb.lastRequestUID return kb.lastErrorPage and kb.lastErrorPage[0]==kb.lastRequestUID
def beep(): def beep():
@ -1511,6 +1514,6 @@ def beep():
audio.close() audio.close()
except: except:
print '\a' dataToStdout('\a', True)
else: else:
print '\a' dataToStdout('\a', True)