Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/a/i/aichallenge-HEAD/worker/worker.py   aichallenge(Download)
log = logging.getLogger('worker')
log.setLevel(logging.INFO)
log_file = os.path.join(server_info.get('logs_path', '.'), 'worker.log')
handler = logging.handlers.RotatingFileHandler(log_file,
                                               maxBytes=10000000,
 
# get game from ants dir
sys.path.append(os.path.join(server_info.get('repo_path', '..'), 'ants'))
from ants import Ants
 

src/a/i/aichallenge-HEAD/worker/sandbox.py   aichallenge(Download)
try:
    from server_info import server_info
    _SECURE_DEFAULT = server_info.get('secure_jail', True)
except ImportError:
    _SECURE_DEFAULT = False

src/a/i/aichallenge-HEAD/worker/compiler.py   aichallenge(Download)
try:
    from server_info import server_info
    MEMORY_LIMIT = server_info.get('memory_limit', 1500)
except ImportError:
    MEMORY_LIMIT = 1500

src/o/d/odlug.org-HEAD/ants/tools/sandbox.py   odlug.org(Download)
try:
    from server_info import server_info
    _SECURE_DEFAULT = server_info.get('secure_jail', True)
except ImportError:
    _SECURE_DEFAULT = False

src/z/a/zarkon-HEAD/aichallenge/sandbox.py   zarkon(Download)
try:
    from server_info import server_info
    _SECURE_DEFAULT = server_info.get('secure_jail', True)
except ImportError:
    _SECURE_DEFAULT = False

src/g/o/Google-Ants-Challenge-Course-Framework-HEAD/aic-sim/sandbox.py   Google-Ants-Challenge-Course-Framework(Download)
try:
    from server_info import server_info
    _SECURE_DEFAULT = server_info.get('secure_jail', True)
except ImportError:
    _SECURE_DEFAULT = False