Remove uses of the 'future' py2->3 module
This is no longer needed, now that we are Py3.7+ only. One layer of indirection removed, and one less dependency.
This commit is contained in:
parent
edbe583959
commit
bd33886cc0
16 changed files with 26 additions and 44 deletions
|
|
@ -13,7 +13,6 @@ from evennia.typeclasses.models import TypeclassBase
|
|||
from evennia.scripts.models import ScriptDB
|
||||
from evennia.scripts.manager import ScriptManager
|
||||
from evennia.utils import create, logger
|
||||
from future.utils import with_metaclass
|
||||
|
||||
__all__ = ["DefaultScript", "DoNothing", "Store"]
|
||||
|
||||
|
|
@ -144,7 +143,7 @@ class ExtendedLoopingCall(LoopingCall):
|
|||
return None
|
||||
|
||||
|
||||
class ScriptBase(with_metaclass(TypeclassBase, ScriptDB)):
|
||||
class ScriptBase(ScriptDB, metaclass=TypeclassBase):
|
||||
"""
|
||||
Base class for scripts. Don't inherit from this, inherit from the
|
||||
class `DefaultScript` below instead.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue