[kupfer] Fix obj.base's dummy gettext function
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] Fix obj.base's dummy gettext function
- Date: Sat, 13 Feb 2010 15:44:13 +0000 (UTC)
commit 420772c2f503edae9c63975a2af867f9550e81a7
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sat Feb 13 15:42:05 2010 +0100
Fix obj.base's dummy gettext function
kupfer/obj/base.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/obj/base.py b/kupfer/obj/base.py
index 411438d..579136e 100644
--- a/kupfer/obj/base.py
+++ b/kupfer/obj/base.py
@@ -12,7 +12,7 @@ __all__ = [
# so that testing code can still work
import __builtin__
if not hasattr(__builtin__, "_"):
- def identity(x): x
+ def identity(x): return x
__builtin__._ = identity
class Error (Exception):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]