# Path: guicavane/Utils/Log.py
# def console(name=None, logger=None, format=None):
#     handler = logging.StreamHandler()
# 
#     if "-v" in sys.argv:
#         level = logging.DEBUG
#     else:
#         level = logging.WARN
# 
#     return _get_logger(name, logger, handler, level, format)


import Queue
import gobject
import threading
import traceback
from guicavane.Utils.Log import console
from StringIO import StringIO
#!/usr/bin/env python
# coding: utf-8

"""
ThreadRunner.

This module provides the class GtkThreadRunner that is used
to run a function on a thread and return the result when it's done
"""



# Path: guicavane/Utils/Log.py
# def console(name=None, logger=None, format=None):
#     handler = logging.StreamHandler()
# 
#     if "-v" in sys.argv:
#         level = logging.DEBUG
#     else:
#         level = logging.WARN
# 
#     return _get_logger(name, logger, handler, level, format)


# Path: guicavane/ThreadRunner.py
import Queue
import gobject
import threading
import traceback
from guicavane.Utils.Log import console
from StringIO import StringIO

#!/usr/bin/env python
# coding: utf-8

"""
ThreadRunner.

This module provides the class GtkThreadRunner that is used
to run a function on a thread and return the result when it's done
"""



log = console("ThreadRunner")