On 28 Giu, 13:45, Bruno Desthuilliers <bruno. [EMAIL PROTECTED]> wrote: > <side-note> > wrt/ this snippet: > > for plugin_name in self.config['plugins']: > try: > plugin=__import__(plugin_name) > try: > print type(self) > eval('plugin.'+plugin_name+'Commands._plug_init(self)') > except AttributeError: > pass > except ImportError: > pass > > You may want to try this instead: > > for plugin_name in self.config['plugins']: > try: > plugin=__import__(plugin_name) > except ImportError: > # eventually do something like logging the error ? > continue > try: > cmdplug = getattr(plugin, plugin_name+'Commands') > cmdplug._plug_init(self) > except AttributeError: > # eventually do something like logging the error ? > continue
Tried, same error as before :( -- http://mail.python.org/mailman/listinfo/python-list