<commit_before>#!/usr/bin/env python

from django.core.management import execute_manager

try:
    import settings_dev
except ImportError, err:
    import sys
    sys.stderr.write("Manage import Error\n")
    sys.stderr.write(str(err)+"\n")
    sys.exit(1)

if __name__ == "__main__":
    execute_manager(settings_dev)<commit_msg>adjust manager for django 1.6<commit_after>#!/usr/bin/env python
import os
import sys

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings_dev")
    from django.core.management import execute_from_command_line
    execute_from_command_line(sys.argv)
{'fraction_non_alphanumeric': 0.11038961038961038, 'fraction_numerical': 0.00487012987012987, 'mean_word_length': 4.876190476190477, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, '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': '5337824', 'n_tokens_mistral': 205, 'n_tokens_neox': 203, 'n_words': 42}