[accerciser] Bug 573845, accerciser hangs interface on ipython exit. This temporary fix maps ipython exit and qu
- From: Brian Nitz <briannitz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accerciser] Bug 573845, accerciser hangs interface on ipython exit. This temporary fix maps ipython exit and qu
- Date: Fri, 20 May 2011 13:04:46 +0000 (UTC)
commit 02aa5747df163813f5065b90f3215e197bd2305a
Author: Brian Nitz <brian nitz oracle com>
Date: Fri Jan 21 17:53:38 2011 +0000
Bug 573845, accerciser hangs interface on ipython exit. This temporary fix maps ipython exit and quit to null function
https://bugzilla.gnome.org/show_bug.cgi?id=573845
plugins/ipython_view.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/ipython_view.py b/plugins/ipython_view.py
index e2fbdfe..5fae78e 100755
--- a/plugins/ipython_view.py
+++ b/plugins/ipython_view.py
@@ -89,6 +89,8 @@ class IterableIPShell:
self.iter_more = 0
self.history_level = 0
self.complete_sep = re.compile('[\s\{\}\[\]\(\)]')
+ self.updateNamespace({'exit':lambda:None})
+ self.updateNamespace({'quit':lambda:None})
def execute(self):
'''
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]