[kupfer] obj: Fix string format in obj.exceptions
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] obj: Fix string format in obj.exceptions
- Date: Sat, 19 Mar 2011 01:21:48 +0000 (UTC)
commit d8b17f940d4b5f8d9224639e1bf98e46b404ebda
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sat Mar 19 02:20:48 2011 +0100
obj: Fix string format in obj.exceptions
kupfer/obj/exceptions.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/obj/exceptions.py b/kupfer/obj/exceptions.py
index 3bb5c25..e0bddfb 100644
--- a/kupfer/obj/exceptions.py
+++ b/kupfer/obj/exceptions.py
@@ -14,7 +14,7 @@ class CommandMissingError (OperationError):
User-visible error message for missing executable
"""
def __init__(self, cmd):
- OperationError.__init__(self, _("Command '%s' not found"))
+ OperationError.__init__(self, _("Command '%s' not found") % (cmd, ))
class NotAvailableError (OperationError):
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]