[gedit-plugins] git: Fix debug message path
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] git: Fix debug message path
- Date: Wed, 18 Feb 2015 16:59:33 +0000 (UTC)
commit 414bf147640282b437e3ab7ef67da8dba1ebd8cd
Author: Garrett Regier <garrettregier gmail com>
Date: Sat Feb 14 17:16:10 2015 -0800
git: Fix debug message path
We were using the full path and not the computed
short path.
plugins/git/git/debug.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/git/git/debug.py b/plugins/git/git/debug.py
index 0e6bbfa..ad2ff0a 100644
--- a/plugins/git/git/debug.py
+++ b/plugins/git/git/debug.py
@@ -48,7 +48,7 @@ def debug(msg, *, frames=1, print_stack=False, limit=None):
path = path[1:]
full_message = io.StringIO()
- full_message.writelines((info.filename, ':', str(info.lineno),
+ full_message.writelines((path, ':', str(info.lineno),
' (', info.function, ') ', msg, '\n'))
if print_stack:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]