<commit_before>from django.db.models.signals import post_syncdb

from docserver import models
from docserver import filetypes

import inspect

"""A post-syncdb hook to create DocumentConversion objects
"""
def create_docconverters(sender, **kwargs):
    for cl in inspect.getmembers(sender):
        if filetypes.FileType in cl.__bases__:
            inst = cl()

post_syncdb.connect(create_docconverters)<commit_msg>Remove syntax error<commit_after>from django.db.models.signals import post_syncdb

from docserver import models
from docserver import filetypes

import inspect

"""A post-syncdb hook to create DocumentConversion objects
"""
def create_docconverters(sender, **kwargs):
    for cl in inspect.getmembers(sender):
        if filetypes.FileType in cl.__bases__:
            inst = cl()

#post_syncdb.connect(create_docconverters)
{'fraction_non_alphanumeric': 0.07728894173602854, 'fraction_numerical': 0.0, 'mean_word_length': 4.727891156462585, 'pattern_counts': {'":': 0, '<': 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': '6238382', 'n_tokens_mistral': 244, 'n_tokens_neox': 246, 'n_words': 71}