We can still continue if we're unable to load a plugin.

This commit is contained in:
Jeremy Fincher 2008-06-03 03:48:55 +00:00 committed by James Vega
parent 2f15eb2418
commit 9d474f7824

View File

@ -187,7 +187,7 @@ if __name__ == '__main__':
sys.stderr.write('Failed to load plugin %s: %s\n' % (pluginName,e)) sys.stderr.write('Failed to load plugin %s: %s\n' % (pluginName,e))
sys.stderr.write('(pluginDirs: %s)' % sys.stderr.write('(pluginDirs: %s)' %
conf.supybot.directories.plugins()) conf.supybot.directories.plugins())
sys.exit(-1) continue
if hasattr(pluginModule, 'test'): if hasattr(pluginModule, 'test'):
test.suites.append(load(pluginModule.test)) test.suites.append(load(pluginModule.test))