]> git.llucax.com Git - software/pymin.git/commit
Add a decorator to mark which callables are exported by the dispatcher.
authorLeandro Lucarella <llucarella@integratech.com.ar>
Mon, 24 Sep 2007 17:09:37 +0000 (14:09 -0300)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Mon, 24 Sep 2007 17:09:37 +0000 (14:09 -0300)
commitd46203541c7463746edf19344d3ddbd1fb412128
tree034da318eb46717ce19c4393c048ec91ea105850
parentb8c5dbd52084b9a710c9881e327449f9eaec0bdb
Add a decorator to mark which callables are exported by the dispatcher.

All callables which should handle a command should be maked with the
@handler decorator. This is for the sake of security, so users can't call
arbitrary python code (like a constructor).
config.py
dispatcher.py
services/dhcp/__init__.py