def clean(self):
        productversion = self.cleaned_data.get("productversion")
        suite = self.cleaned_data.get("suite")
        product = self.cleaned_data.get("product")
        if product and productversion and productversion.product != product:
            raise forms.ValidationError(
                "Must select a version of the correct product.")
        if product and suite and suite.product != product:
            raise forms.ValidationError(
                "Must select a suite for the correct product.")
        return self.cleaned_data
Join the thread (wait until it stops).
dataset/ETHPy150Open mozilla/moztrap/moztrap/view/manage/cases/forms.py/BaseAddCaseForm.clean--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/pyxmpp2/mainloop/threads.py/IOThread.join