[kupfer] puid: Reduce debug output
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] puid: Reduce debug output
- Date: Sat, 9 Jan 2010 20:22:15 +0000 (UTC)
commit fe4a53e6ef55cde0f367dd3794eb497b8d5ba6e2
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sat Jan 9 04:57:03 2010 +0100
puid: Reduce debug output
kupfer/puid.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/kupfer/puid.py b/kupfer/puid.py
index 7a95375..897d746 100644
--- a/kupfer/puid.py
+++ b/kupfer/puid.py
@@ -107,13 +107,11 @@ def resolve_action_id(puid, for_item=None):
if for_item is not None:
for action in for_item.get_actions():
if get_unique_id(action) == puid:
- pretty.print_debug(__name__, "Resolving (Builtin)", puid)
return action
sc = data.GetSourceController()
for item_type, actions in sc.action_decorators.iteritems():
for action in actions:
if get_action_id(action) == puid:
- pretty.print_debug(__name__, "Resolving (Decorator)", puid)
return action
pretty.print_debug(__name__, "Unable to resolve %s (%s)" % (puid, for_item))
return None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]