[kupfer] plugin.core: Add more debug variables to DebugInfo
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] plugin.core: Add more debug variables to DebugInfo
- Date: Sun, 1 Nov 2009 16:58:33 +0000 (UTC)
commit 32c989df0473a29b76122caad742d547232c3d10
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sun Nov 1 01:58:15 2009 +0100
plugin.core: Add more debug variables to DebugInfo
kupfer/plugin/core.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/core.py b/kupfer/plugin/core.py
index b02de90..458f280 100644
--- a/kupfer/plugin/core.py
+++ b/kupfer/plugin/core.py
@@ -127,6 +127,8 @@ class DebugInfo (Action, pretty.OutputMixin):
"parent" : src.get_parent(),
"leaf" : src.get_leaf_repr(),
"provides" : list(src.provides()),
+ "cached_items": type(src.cached_items),
+ "len": isinstance(src.cached_items, list) and len(src.cached_items),
} )
return base
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]