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:
Greg Taylor 2019-09-14 23:47:00 -07:00
parent edbe583959
commit bd33886cc0
16 changed files with 26 additions and 44 deletions

View file

@ -8,7 +8,6 @@ entities.
import time
import inflect
from builtins import object
from future.utils import with_metaclass
from collections import defaultdict
from django.conf import settings
@ -179,7 +178,7 @@ class ObjectSessionHandler(object):
# Base class to inherit from.
class DefaultObject(with_metaclass(TypeclassBase, ObjectDB)):
class DefaultObject(ObjectDB, metaclass=TypeclassBase):
"""
This is the root typeclass object, representing all entities that
have an actual presence in-game. DefaultObjects generally have a