Commit Graph
8 Commits
Author SHA1 Message Date
Cédric Krier c370a1fdc7 Handle timeout in SocketServer for Python < 2.6 for issue1731 2010-10-19 22:32:37 +02:00
Phillip Heller 91184b1173 Factored out common daemon code from services to new trytond.protocols.com
Suppress Errno 57 when attempting to close an already shut socket, fixes issue1624
Revert from join() on enumerated threads to join() on individual service threadsto preserve debugging environments
2010-10-06 16:53:00 -04:00
Cédric Krier 483afed26a Catch only Exception according to PEP 352 2010-07-08 19:53:39 +02:00
Cédric Krier c77ce123c5 Fix jsonrpc strip of "sao/" for issue1555 2010-05-04 23:33:08 +02:00
Cédric Krier 0415e46c73 Don't allow to use float in Numeric fields
The goal is to prevent to introduce float errors in Numeric fields.
There is a trick for external protocols like XML-RPC and JSON-RPC where the
string representation is stored in the Float object and will be used to
convert it into Decimal.
2010-03-12 17:41:07 +01:00
Cédric Krier b5fb4d1ef3 Refactoring by validation with pylint 2010-02-18 18:50:35 +01:00
Cédric Krier 5819e2cbe9 Better test to import json
There is an other json module for python < 2.6
2010-01-20 15:22:33 +01:00
Cédric Krier a964e4ac9e Add JSON-RPC 2010-01-20 10:33:44 +01:00