Temporarily removing channel emits to avoid circular dependencies. Pfft.
This commit is contained in:
parent
be05772713
commit
b9e543f6fd
1 changed files with 2 additions and 3 deletions
|
|
@ -2,7 +2,6 @@ import textwrap
|
||||||
from twisted.python import log
|
from twisted.python import log
|
||||||
|
|
||||||
import session_mgr
|
import session_mgr
|
||||||
import functions_comsys
|
|
||||||
"""
|
"""
|
||||||
General commonly used functions.
|
General commonly used functions.
|
||||||
"""
|
"""
|
||||||
|
|
@ -48,7 +47,7 @@ def log_errmsg(errormsg):
|
||||||
errormsg: (string) The message to be logged.
|
errormsg: (string) The message to be logged.
|
||||||
"""
|
"""
|
||||||
log.err('ERROR: %s' % (errormsg,))
|
log.err('ERROR: %s' % (errormsg,))
|
||||||
functions_comsys.send_cmessage("Errors", "[Errors] "+ errormsg)
|
#functions_comsys.send_cmessage("Errors", "[Errors] "+ errormsg)
|
||||||
|
|
||||||
def log_infomsg(infomsg):
|
def log_infomsg(infomsg):
|
||||||
"""
|
"""
|
||||||
|
|
@ -57,7 +56,7 @@ def log_infomsg(infomsg):
|
||||||
debugmsg: (string) The message to be logged.
|
debugmsg: (string) The message to be logged.
|
||||||
"""
|
"""
|
||||||
log.msg('%s' % (infomsg,))
|
log.msg('%s' % (infomsg,))
|
||||||
functions_comsys.send_cmessage("Info", "[Info] "+ infomsg)
|
#functions_comsys.send_cmessage("Info", "[Info] "+ infomsg)
|
||||||
|
|
||||||
def time_format(seconds, style=0):
|
def time_format(seconds, style=0):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue