Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/i/milter-0.8.18/bms.py   milter(Download)
  global scan_rfc822, scan_html, block_chinese, scan_zip, block_forward
  global banned_exts
  if cp.has_section('defang'):
    section = 'defang'
    # for backward compatibility,
  for sa,v in [
      (k,cp.get('wiretap',k)) for k in cp.getlist('wiretap','smart_alias')
    ] + (cp.has_section('smart_alias') and cp.items('smart_alias',True) or []):
    print sa,v
    sm = [q.strip() for q in v.split(',')]