File: stdout.py

package info (click to toggle)
felix 1.1.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,992 kB
  • ctags: 1,178
  • sloc: python: 7,260; makefile: 408; sh: 58
file content (10 lines) | stat: -rw-r--r-- 270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#line 319 "interscript/src/sink_drivers.ipk"
import sys
from interscript.drivers.sinks.base import sink_base
class stdout_sink(sink_base):
  def __init__(self):
    sink_base.__init__(self,name='standard output')

  def raw_write(self,line):
    sys.stdout.write(line)