]> git.llucax.com Git - software/pymin.git/commit
Use the serializer mode to automatically serialize handlers results.
authorLeandro Lucarella <llucarella@integratech.com.ar>
Thu, 27 Sep 2007 20:48:09 +0000 (17:48 -0300)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Thu, 27 Sep 2007 20:48:09 +0000 (17:48 -0300)
commit9c40f2f2d207eac67ca6add337ab5808deedea84
tree022b0e16a12939ef249ca63c7b0adfc166a6f627
parente3a8b7916e9d8506a53bbcf1039816a7caecd1ac
Use the serializer mode to automatically serialize handlers results.

Handlers now don't have to worry about serialization. All they have to do
is return list of values (which can be lists or iterable object). Then the
PyminDaemon serialize them to UTF-8 encoded CSV strings and send them
through socket.
pymindaemon.py
services/dhcp/__init__.py