[gedit-plugins/wip/python3: 16/19] Bubble up traceback from generators
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/wip/python3: 16/19] Bubble up traceback from generators
- Date: Fri, 9 Nov 2012 22:22:47 +0000 (UTC)
commit b025c530f03f907665bdde5e6beb3eb27cb02508
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Fri Nov 9 11:50:48 2012 +0100
Bubble up traceback from generators
plugins/commander/commander/commands/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/commander/commander/commands/__init__.py b/plugins/commander/commander/commands/__init__.py
index 8bd76dc..637b136 100644
--- a/plugins/commander/commander/commands/__init__.py
+++ b/plugins/commander/commander/commands/__init__.py
@@ -276,7 +276,7 @@ class Commands(Singleton):
state.pop()
if state:
- state.top().generator.throw(type(e), e)
+ state.top().generator.throw(type(e), e, e.__traceback__)
else:
# Re raise it for the top most to show the error
raise
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]