mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Security update; Increase rec Django version to 2.2.4
This commit is contained in:
parent
f64a44ce35
commit
781e8310f5
6 changed files with 21 additions and 24 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue