home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1850 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  1.7 KB  |  42 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. __docformat__ = 'restructuredtext en'
  5. import sys
  6.  
  7. class FileLike(object):
  8.     closed = False
  9.     
  10.     def __init__(self, write_callback):
  11.         self.write = write_callback
  12.  
  13.     
  14.     def flush(self):
  15.         pass
  16.  
  17.     
  18.     def close(self):
  19.         pass
  20.  
  21.     
  22.     def writelines(self, lines):
  23.         map(self.write, lines)
  24.  
  25.     
  26.     def isatty(self):
  27.         return False
  28.  
  29.     
  30.     def getvalue(self):
  31.         return ''
  32.  
  33.     
  34.     def reset(self):
  35.         pass
  36.  
  37.     
  38.     def truncate(self):
  39.         pass
  40.  
  41.  
  42.