Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ec9d22

Browse files
committed
minor
1 parent 4ab3edf commit 9ec9d22

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,18 +1481,21 @@ def pushValue(value):
14811481
"""
14821482
Push value to the stack
14831483
"""
1484+
14841485
kb.valueStack.append(value)
14851486

14861487
def popValue():
14871488
"""
14881489
Pop value from the stack
14891490
"""
1491+
14901492
return kb.valueStack.pop()
14911493

14921494
def wasLastRequestError():
14931495
"""
14941496
Returns True if the last web request resulted in a (recognized) DBMS error page
14951497
"""
1498+
14961499
return kb.lastErrorPage and kb.lastErrorPage[0]==kb.lastRequestUID
14971500

14981501
def beep():
@@ -1511,6 +1514,6 @@ def beep():
15111514

15121515
audio.close()
15131516
except:
1514-
print '\a'
1517+
dataToStdout('\a', True)
15151518
else:
1516-
print '\a'
1519+
dataToStdout('\a', True)

0 commit comments

Comments
 (0)