[kupfer] keybindings: fix error message call
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] keybindings: fix error message call
- Date: Wed, 26 Aug 2009 18:24:21 +0000 (UTC)
commit 745f4718ee82018caddf99b359b4e4acb6372d19
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Tue Aug 25 19:17:24 2009 +0200
keybindings: fix error message call
kupfer/keybindings.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/keybindings.py b/kupfer/keybindings.py
index 0862356..e8dbed1 100644
--- a/kupfer/keybindings.py
+++ b/kupfer/keybindings.py
@@ -47,7 +47,8 @@ def bind_key(keystr, keybinding_target=KEYBINDING_DEFAULT):
try:
import keybinder
except ImportError:
- pretty.print_error("Could not import keybinder, keybindings disabled!")
+ pretty.print_error(__name__, "Could not import keybinder, "
+ "keybindings disabled!")
return False
keybinding_target = int(keybinding_target)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]