def handle_extensions(extensions=('html',)):
    ext_list = []
    for ext in extensions:
        ext_list.extend(ext.replace(' ','').split(','))
    for i, ext in enumerate(ext_list):
        if not ext.startswith('.'):
            ext_list[i] = '.%s' % ext_list[i]

    # we don't want *.py files here because of the way non-*.py files
    # are handled in make_messages() (they are copied to file.ext.py files to
    # trick xgettext to parse them as Python files)
    return set([x for x in ext_list if x != '.py'])
@param box: an L{AmpBox} with a value for its L{COMMAND} and L{ASK}
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/core/management/commands/makemessages.py/handle_extensions--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/protocols/amp.py/BoxDispatcher._commandReceived