# Path: mirror/common.py
# def write_stderr(message, *args):
#     """
#     """
#     sys.stderr.write(message % args)
#     sys.stderr.write("\n")


import os, sys
import time
import mmap
import struct
import signal
    import cPickle as pickle
    import pickle
import mirror.color
import mirror.common
import mirror.task  as task
import mirror.error as error
    import mirror.configmanager
from mirror.common import write_stderr
#
# Copyright (C) 2013 Shang Yuanchun <idealities@gmail.com>
#
#
# You may redistribute it and/or modify it under the terms of the
# GNU General Public License, as published by the Free Software
# Foundation; either version 3 of the License, or (at your option)
# any later version.
#
# mirror is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with mirror. If not, write to:
#   The Free Software Foundation, Inc.,
#   51 Franklin Street, Fifth Floor
#   Boston, MA  02110-1301, USA.
#
#

try:
except:


TASK_DESC = {

# Path: mirror/common.py
# def write_stderr(message, *args):
#     """
#     """
#     sys.stderr.write(message % args)
#     sys.stderr.write("\n")


# Path: mirror/console.py
import os, sys
import time
import mmap
import struct
import signal
    import cPickle as pickle
    import pickle
import mirror.color
import mirror.common
import mirror.task  as task
import mirror.error as error
    import mirror.configmanager
from mirror.common import write_stderr

#
# Copyright (C) 2013 Shang Yuanchun <idealities@gmail.com>
#
#
# You may redistribute it and/or modify it under the terms of the
# GNU General Public License, as published by the Free Software
# Foundation; either version 3 of the License, or (at your option)
# any later version.
#
# mirror is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with mirror. If not, write to:
#   The Free Software Foundation, Inc.,
#   51 Franklin Street, Fifth Floor
#   Boston, MA  02110-1301, USA.
#
#

try:
except:


TASK_DESC = {

            task.REGULAR_TASK: "Normal task",