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

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from PyQt4.uic.exceptions import NoSuchWidgetError
  5.  
  6. def invoke(driver):
  7.     exit_status = 1
  8.     
  9.     try:
  10.         exit_status = driver.invoke()
  11.     except IOError:
  12.         e = None
  13.         driver.on_IOError(e)
  14.     except SyntaxError:
  15.         e = None
  16.         driver.on_SyntaxError(e)
  17.     except NoSuchWidgetError:
  18.         e = None
  19.         driver.on_NoSuchWidgetError(e)
  20.     except Exception:
  21.         e = None
  22.         driver.on_Exception(e)
  23.  
  24.     return exit_status
  25.  
  26.