Security update; Increase rec Django version to 2.2.4

This commit is contained in:
Griatch 2019-08-09 18:03:02 +02:00
parent f64a44ce35
commit 781e8310f5
6 changed files with 21 additions and 24 deletions

View file

@ -152,19 +152,6 @@ class ScriptBase(with_metaclass(TypeclassBase, ScriptDB)):
"""
objects = ScriptManager()
def __eq__(self, other):
"""
Compares two Scripts. Compares dbids.
Args:
other (Script): A script to compare with.
"""
try:
return other.dbid == self.dbid
except Exception:
return False
def __str__(self):
return "<{cls} {key}>".format(cls=self.__class__.__name__, key=self.key)