[gnome-music] logs: use tab to separate location and message
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] logs: use tab to separate location and message
- Date: Mon, 20 Jul 2015 16:16:41 +0000 (UTC)
commit 1ad5e8eae81bf49bb4964198057c94a8fa1b948d
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon Jul 20 18:16:28 2015 +0200
logs: use tab to separate location and message
gnomemusic/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/__init__.py b/gnomemusic/__init__.py
index 035d29f..55ea78d 100644
--- a/gnomemusic/__init__.py
+++ b/gnomemusic/__init__.py
@@ -56,7 +56,7 @@ def log(fn):
elapsed_time = ''
if elapsed > 0.5:
elapsed_time = ', took %02f' % elapsed
- logger.debug("%s:%s %s%s.%s(%s), returned %s%s",
+ logger.debug("%s:%s\t%s%s.%s(%s), returned %s%s",
filename, lineno, '|' * tabbing, module, name, params, retval, elapsed_time)
return retval
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]