electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit dc466142d3c3d1e223174de21e172778a6177c2c
parent 1f3f6b19e25f2f36177caff91d71b086806187dc
Author: ThomasV <thomasv@gitorious>
Date:   Mon, 25 Feb 2013 22:52:09 +0100

console: catch help()

Diffstat:
Mlib/qt_console.py | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/lib/qt_console.py b/lib/qt_console.py @@ -177,6 +177,11 @@ class Console(QtGui.QPlainTextEdit): QtCore.QCoreApplication.processEvents() self.skip = not self.skip + if command == 'help()': + self.appendPlainText("no help here!") + self.newPrompt() + return + sys.stdout = stdoutProxy(self.appendPlainText) try: try: