<commit_before># Django settings for mytest project.
import os, json

import djcelery
djcelery.setup_loader()

envfilepath = os.path.join(os.environ['HOME'], 'environment.json')
environment = json.load(open(envfilepath))

BROKER_HOST = environment['DOTCLOUD_QUEUE_AMQP_HOST']
BROKER_PORT = environment['DOTCLOUD_QUEUE_AMQP_PORT']
BROKER_USER = environment['DOTCLOUD_QUEUE_AMQP_LOGIN']
BROKER_PASSWORD = environment['DOTCLOUD_QUEUE_AMQP_PASSWORD']

CELERY_SEND_TASK_ERROR_EMAILS = True
CELERY_SEND_EVENTS = True<commit_msg>Fix problem on deployment<commit_after># Django settings for mytest project.
import os, json

envfilepath = os.path.join(os.environ['HOME'], 'environment.json')
environment = json.load(open(envfilepath))

import djcelery
djcelery.setup_loader()

BROKER_HOST = environment['DOTCLOUD_QUEUE_AMQP_HOST']
BROKER_PORT = environment['DOTCLOUD_QUEUE_AMQP_PORT']
BROKER_USER = environment['DOTCLOUD_QUEUE_AMQP_LOGIN']
BROKER_PASSWORD = environment['<PASSWORD>AMQP_PASSWORD']

CELERY_SEND_TASK_ERROR_EMAILS = True
CELERY_SEND_EVENTS = True
{'fraction_non_alphanumeric': 0.09895337773549001, 'fraction_numerical': 0.0, 'mean_word_length': 9.73469387755102, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7354394', 'n_tokens_mistral': 405, 'n_tokens_neox': 400, 'n_words': 60}