diff --git a/gracedb/superevents/models.py b/gracedb/superevents/models.py index 0c9037dfd1355e7e3af4e429c64017e4c9cbfd65..bdd1c6f7075279eedeea3e99112cb7ada80fc1ce 100644 --- a/gracedb/superevents/models.py +++ b/gracedb/superevents/models.py @@ -415,9 +415,9 @@ class Superevent(CleanSaveModel, AutoIncrementModel): # one that datetime can't parse or that the regex won't match pass - class EventTypeMismatchError(Exception): + class EventCategoryMismatchError(Exception): # To be raised when an attempt is made to add an event with an - # incompatible type + # incompatible category pass # Classes for direct foreign key lookups of permissions. Should