File: main_with_no_exec_guard.py

package info (click to toggle)
python-mitogen 0.3.29-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,680 kB
  • sloc: python: 24,266; sh: 198; makefile: 74; perl: 19; ansic: 18
file content (11 lines) | stat: -rw-r--r-- 164 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
import logging
import mitogen.master

def foo():
    pass

logging.basicConfig(level=logging.INFO)
router = mitogen.master.Router()

l = router.local()
l.call(foo)