Skip to content

Commit c63ace2

Browse files
committed
Removed debug-related code from group edit clean_acronym(). Fixes issue ietf-tools#2804.
- Legacy-Id: 16787
1 parent 10c8596 commit c63ace2

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

ietf/group/forms.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ def __init__(self, *args, **kwargs):
126126
del self.fields[f]
127127

128128
def clean_acronym(self):
129-
try:
130129
# Changing the acronym of an already existing group will cause 404s all
131130
# over the place, loose history, and generally muck up a lot of
132131
# things, so we don't permit it
@@ -178,12 +177,8 @@ def clean_acronym(self):
178177
return acronym
179178
else:
180179
raise forms.ValidationError("Warning: Acronym used for a historic group.")
180+
181181
return acronym
182-
except forms.ValidationError:
183-
pass
184-
except Exception:
185-
import traceback
186-
traceback.print_exc()
187182

188183
def clean_urls(self):
189184
return [x.strip() for x in self.cleaned_data["urls"].splitlines() if x.strip()]

0 commit comments

Comments
 (0)