]> git.llucax.com Git - software/pymin.git/blobdiff - config.py
Add a decorator to mark which callables are exported by the dispatcher.
[software/pymin.git] / config.py
index f433170dae6664ee393ad2e20a2f7bc232a33bcf..2addc6823caeee0252b641511d616dd24e30cf08 100644 (file)
--- a/config.py
+++ b/config.py
@@ -1,8 +1,10 @@
 # vim: set et sts=4 sw=4 encoding=utf-8 :
 
 from services import *
 # vim: set et sts=4 sw=4 encoding=utf-8 :
 
 from services import *
+from dispatcher import handler
 
 # XXX for testing only
 
 # XXX for testing only
+@handler
 def test_func(*args):
     print 'func:', args
 
 def test_func(*args):
     print 'func:', args