home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- from PyQt4.uic.exceptions import WidgetPluginError
-
- def load_plugin(plugin, plugin_globals, plugin_locals):
-
- try:
- exec (plugin.read(), plugin_globals, plugin_locals)
- except ImportError:
- return False
- except Exception:
- e = None
- raise WidgetPluginError('%s: %s' % (e.__class__, str(e)))
- except:
- None<EXCEPTION MATCH>Exception
-
-
- return True
-
-