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

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. import sys
  5. success = False
  6. in_ironpython = 'IronPython' in sys.version
  7. if in_ironpython:
  8.     
  9.     try:
  10.         from ironpython_keysyms import *
  11.         success = True
  12.     except ImportError:
  13.         x = None
  14.         raise 
  15.     except:
  16.         None<EXCEPTION MATCH>ImportError
  17.     
  18.  
  19. None<EXCEPTION MATCH>ImportError
  20.  
  21. try:
  22.     from keysyms import *
  23.     success = True
  24. except ImportError:
  25.     x = None
  26.  
  27. if not success:
  28.     raise ImportError('Could not import keysym for local pythonversion', x)
  29. success
  30.