~qioeujqioejqioe-deactivatedaccount/exaile/missing-signals

« back to all changes in this revision

Viewing changes to xl/plugins/manager.py

  • Committer: Adam Olsen
  • Date: 2007-08-31 19:36:41 UTC
  • Revision ID: arolsen@gmail.com-20070831193641-isghtp1fq2433m2m
Moving the plugins directory into the source directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16
16
 
17
 
import os, re, traceback, sys, plugins, zipimport
 
17
import os, re, traceback, sys, zipimport
 
18
import xl.plugins
18
19
 
19
20
class Manager(object):
20
21
    """
92
93
                if plugin.initialize():
93
94
                    plugin.PLUGIN_ENABLED = True
94
95
            self.plugins.append(plugin)
95
 
        except plugins.PluginInitException, e:
 
96
        except xl.plugins.PluginInitException, e:
96
97
            self.plugins.append(plugin)
97
98
        except Exception, e:
98
99
            print "Failed to load plugin"