# Path: lacli/log.py
# def getLogger(logger='lacli'):
#     return lacore.log.getLogger(logger)
# 
# Path: lacli/exceptions.py
# class PauseEvent(BaseAppException):
#     msg = "Paused"


from lacli.log import getLogger
from lacli.exceptions import PauseEvent
from multiprocessing import Queue, active_children
from Queue import Empty


class ControlHandler(object):

    def __init__(self):
        self.q = None

    def __enter__(self):
        self.q = Queue()
        controlByQueue(self.q)

# Path: lacli/log.py
# def getLogger(logger='lacli'):
#     return lacore.log.getLogger(logger)
# 
# Path: lacli/exceptions.py
# class PauseEvent(BaseAppException):
#     msg = "Paused"


# Path: lacli/control.py
from lacli.log import getLogger
from lacli.exceptions import PauseEvent
from multiprocessing import Queue, active_children
from Queue import Empty



class ControlHandler(object):

    def __init__(self):
        self.q = None

    def __enter__(self):
        self.q = Queue()
        controlByQueue(self.q)

        return self.q