[pitivi] loggable: Windup the stack leads to wrong frames
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] loggable: Windup the stack leads to wrong frames
- Date: Wed, 2 Apr 2014 15:28:47 +0000 (UTC)
commit 5c1178483ad686638e70b40f82c74b3d68737518
Author: Thibault Saunier <tsaunier gnome org>
Date: Tue Apr 1 15:40:32 2014 +0200
loggable: Windup the stack leads to wrong frames
pitivi/utils/loggable.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/utils/loggable.py b/pitivi/utils/loggable.py
index 72c6680..5f60d1e 100644
--- a/pitivi/utils/loggable.py
+++ b/pitivi/utils/loggable.py
@@ -448,10 +448,6 @@ def getFileLine(where=-1):
while stackFrame:
co = stackFrame.f_code
if not co.co_filename.endswith('loggable.py'):
- # wind up the stack according to frame
- while where < -1:
- stackFrame = stackFrame.f_back
- where += 1
co = stackFrame.f_code
lineno = stackFrame.f_lineno
name = co.co_name
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]