home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Calibre / calibre-0.8.18.msi / file_262 / dbi.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2011-09-09  |  512 b   |  15 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.7)
  3.  
  4. import warnings
  5. warnings.warn('dbi module is obsolete, code should now use native python datetime and buffer/memoryview objects', DeprecationWarning)
  6. import datetime
  7. dbDate = dbiDate = datetime.datetime
  8.  
  9. try:
  10.     dbRaw = dbiRaw = buffer
  11. except NameError:
  12.     dbRaw = dbiRaw = memoryview
  13.  
  14. from odbc import *
  15.