Commit d630d502 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

avoid catching any exception

parent 325ef85a
from allauth.account.forms import SignupForm
from django import forms
from django.contrib.auth.models import User
from django.core.exceptions import ObjectDoesNotExist
from django.core.validators import RegexValidator
from django.utils.safestring import mark_safe
......@@ -164,7 +165,7 @@ class WebappForm(forms.ModelForm):
try:
self.fields['owner'].initial = self.instance.user
except:
except ObjectDoesNotExist:
pass
self.instance.job_queue = JobQueue.objects.filter(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment