<commit_before>import json
import dateutil
from django import forms
from django.core.urlresolvers import reverse
from django.utils.safestring import mark_safe
from django.utils.translation import ugettext as _, ugettext_noop
from corehq.apps.groups.models import Group
from corehq.apps.reports.models import HQUserType
from corehq.apps.reports.util import group_filter, users_matching_filter, \
    users_filter, datespan_export_filter, app_export_filter, case_group_filter, \
    case_users_filter, datespan_from_beginning
from corehq.apps.style.crispy import B3MultiField, CrispyTemplate
from corehq.apps.style.forms.widgets import Select2MultipleChoiceWidget, \
    DateRangePickerWidget
from couchexport.util import SerializableFunction

from crispy_forms.bootstrap import FormActions, InlineField
from crispy_forms.helper import FormHelper
from crispy_forms import layout as crispy

from corehq.apps.app_manager.dbaccessors import get_apps_in_domain
from crispy_forms.layout import Layout
from dimagi.utils.dates import DateSpan


class ExportFormValidationException(Exception):
    pass


class CreateFormExportForm(forms.Form):
    application = forms.CharField(required=False)
    module = forms.CharField(required=False)
    form = forms.CharField(required=False)

    def __init__(self, *args, **kwargs):
        super(CreateFormExportForm, self).__init__(*args, **kwargs)<commit_msg>remove exception from report<commit_after>import json
import dateutil
from django import forms
from django.core.urlresolvers import reverse
from django.utils.safestring import mark_safe
from django.utils.translation import ugettext as _, ugettext_noop
from corehq.apps.groups.models import Group
from corehq.apps.reports.models import HQUserType
from corehq.apps.reports.util import group_filter, users_matching_filter, \
    users_filter, datespan_export_filter, app_export_filter, case_group_filter, \
    case_users_filter, datespan_from_beginning
from corehq.apps.style.crispy import B3MultiField, CrispyTemplate
from corehq.apps.style.forms.widgets import Select2MultipleChoiceWidget, \
    DateRangePickerWidget
from couchexport.util import SerializableFunction

from crispy_forms.bootstrap import FormActions, InlineField
from crispy_forms.helper import FormHelper
from crispy_forms import layout as crispy

from corehq.apps.app_manager.dbaccessors import get_apps_in_domain
from crispy_forms.layout import Layout
from dimagi.utils.dates import DateSpan


class CreateFormExportForm(forms.Form):
    application = forms.CharField(required=False)
    module = forms.CharField(required=False)
    form = forms.CharField(required=False)

    def __init__(self, *args, **kwargs):
        super(CreateFormExportForm, self).__init__(*args, **kwargs)
{'fraction_non_alphanumeric': 0.0630466472303207, 'fraction_numerical': 0.0014577259475218659, 'mean_word_length': 6.242744063324539, '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': '939407', 'n_tokens_mistral': 803, 'n_tokens_neox': 783, 'n_words': 199}