# Path: mrq/version.py
# VERSION = "0.9.10"
# 
# Path: mrq/utils.py
# def get_local_ip():
#     """ Returns the local IP. Can be overwritten in the config with --local-ip so don't call
#     this function directly, instead get the current value from the config """
#     import socket
#     try:
#         return socket.gethostbyname(socket.gethostname())
#     except:  # pylint: disable=bare-except
#         return "127.0.0.1"


from future.builtins import str
from .version import VERSION
from .utils import get_local_ip
import argparse
import os
import sys
import re
import psutil
import atexit
import logging
        import cProfile, pstats
        parser.add_argument(
            '--subqueues_refresh_interval',
            default=60,
            action='store',
            type=float,
            help="Seconds between worker refreshes of the known subqueues")

        parser.add_argument(
            '--paused_queues_refresh_interval',
            default=10,
            action='store',
            type=float,
            help="Seconds between worker refreshes of the paused queues list")

        parser.add_argument(
            '--admin_port',
            default=0,
            action="store",
            type=int,
            help='Start an admin server on this port, if provided. Incompatible with --processes')

        parser.add_argument(
            '--admin_ip',
            default="127.0.0.1",
            action="store",
            type=str,
            help='IP for the admin server to listen on. Use "0.0.0.0" to allow access from outside')

        parser.add_argument(
            '--local_ip',

# Path: mrq/version.py
# VERSION = "0.9.10"
# 
# Path: mrq/utils.py
# def get_local_ip():
#     """ Returns the local IP. Can be overwritten in the config with --local-ip so don't call
#     this function directly, instead get the current value from the config """
#     import socket
#     try:
#         return socket.gethostbyname(socket.gethostname())
#     except:  # pylint: disable=bare-except
#         return "127.0.0.1"


# Path: mrq/config.py
from future.builtins import str
from .version import VERSION
from .utils import get_local_ip
import argparse
import os
import sys
import re
import psutil
import atexit
import logging
        import cProfile, pstats

        parser.add_argument(
            '--subqueues_refresh_interval',
            default=60,
            action='store',
            type=float,
            help="Seconds between worker refreshes of the known subqueues")

        parser.add_argument(
            '--paused_queues_refresh_interval',
            default=10,
            action='store',
            type=float,
            help="Seconds between worker refreshes of the paused queues list")

        parser.add_argument(
            '--admin_port',
            default=0,
            action="store",
            type=int,
            help='Start an admin server on this port, if provided. Incompatible with --processes')

        parser.add_argument(
            '--admin_ip',
            default="127.0.0.1",
            action="store",
            type=str,
            help='IP for the admin server to listen on. Use "0.0.0.0" to allow access from outside')

        parser.add_argument(
            '--local_ip',

            default=get_local_ip(),