summaryrefslogtreecommitdiff
path: root/bin/service
diff options
context:
space:
mode:
authorChristophe Simonis <chs@tinyerp.com>2008-07-08 08:13:12 +0000
committerChristophe Simonis <chs@tinyerp.com>2008-07-08 08:13:12 +0000
commit0b1dfd702fd5b087f0e1be81ccf3ed77f0dcf3da (patch)
tree59dfe23edf8dd0833fc73f051bfa7edf16ff5728 /bin/service
parentf8262137d224a9390d757c6ee3a75d52ef7c0868 (diff)
* translation of nearly all exceptions
* the export of translations per module take only the files of these modules bzr revid: chs@tinyerp.com-52cb3686b17250df7bc23bf90d18397c7888e6f2
Diffstat (limited to 'bin/service')
-rw-r--r--bin/service/web_services.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/service/web_services.py b/bin/service/web_services.py
index d4d77fa3910..896757f2be4 100644
--- a/bin/service/web_services.py
+++ b/bin/service/web_services.py
@@ -40,13 +40,10 @@ import base64
import addons
import sql_db
+from tools.translate import _
logging.basicConfig()
-#TODO: use translation system
-def _(str):
- return str
-
class db(netsvc.Service):
def __init__(self, name="db"):
netsvc.Service.__init__(self, name)