removed old code from linspector

This commit is contained in:
Johannes Findeisen 2013-10-21 02:12:54 +02:00
commit 00ddcac305

View file

@ -80,7 +80,6 @@ def setup_logging(logfile="./log/linspector.log", logLevel=logging.ERROR, logfil
fileHandler = logging.handlers.RotatingFileHandler(logfile, maxBytes=1024000, backupCount=4)
fileHandler.setLevel(logfileLevel)
consoleFormatter = logging.Formatter('[%(levelname)s]: %(message)s')
#TODO: if debug with file and function else without that
fileFormatter = logging.Formatter('%(asctime)s %(pathname)s %(module)s %(funcName)s %(lineno)d [%(levelname)s]: %(message)s')
@ -131,17 +130,6 @@ def main():
jsonrpc.daemon = True
jsonrpc.start()
#try:
# core["jsonrpc_backend"]
#except KeyError:
# log.debug("jsonrpc_backend not set in core")
#else:
# if core["jsonrpc_backend"]:
# jsonrpc = JsonrpcBackend(interface, core)
# jsonrpc.daemon = True
# jsonrpc.start()
LishFrontend(interface)
log.debug("shutting down scheduler")
@ -150,4 +138,4 @@ def main():
if __name__ == "__main__":
main()
main()