Starting to remove obj.typeclass references. Server now starts and stops cleanly, but not yet tested with actual gameplay.

This commit is contained in:
Griatch 2014-12-22 21:46:52 +01:00
parent e214c036c8
commit a93d318121
3 changed files with 12 additions and 22 deletions

View file

@ -266,7 +266,6 @@ class SharedMemoryModel(Model):
def get_all_cached_instances(cls):
"return the objects so far cached by idmapper for this class."
return cls.__instance_cache__.values()
#get_all_cached_instances = classmethod(get_all_cached_instances)
@classmethod
def _flush_cached_by_key(cls, key, force=True):
@ -276,7 +275,6 @@ class SharedMemoryModel(Model):
del cls.__instance_cache__[key]
except KeyError:
pass
#_flush_cached_by_key = classmethod(_flush_cached_by_key)
@classmethod
def flush_cached_instance(cls, instance, force=True):