mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Let debug be gone, replaced by utils
This commit is contained in:
parent
6b5d32c4b5
commit
533426d120
@ -44,7 +44,7 @@ conf.dataDir = 'test-data'
|
|||||||
conf.confDir = 'test-conf'
|
conf.confDir = 'test-conf'
|
||||||
conf.logDir = 'test-log'
|
conf.logDir = 'test-log'
|
||||||
|
|
||||||
import debug
|
import utils
|
||||||
import callbacks
|
import callbacks
|
||||||
|
|
||||||
commandDict = {}
|
commandDict = {}
|
||||||
@ -283,7 +283,7 @@ def genPlugins():
|
|||||||
plugin = module.Class()
|
plugin = module.Class()
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print '%s could not be loaded: %s' % (filename,
|
print '%s could not be loaded: %s' % (filename,
|
||||||
debug.exnToString(e))
|
utils.exnToString(e))
|
||||||
continue
|
continue
|
||||||
if isinstance(plugin, callbacks.Privmsg) and not \
|
if isinstance(plugin, callbacks.Privmsg) and not \
|
||||||
isinstance(plugin, callbacks.PrivmsgRegexp):
|
isinstance(plugin, callbacks.PrivmsgRegexp):
|
||||||
|
Loading…
Reference in New Issue
Block a user