Debug tests for trying to catch the flushmem bug #1064.

This commit is contained in:
Griatch 2016-10-02 10:11:08 +02:00
parent 589d6737db
commit cd616caf29
2 changed files with 16 additions and 4 deletions

View file

@ -21,7 +21,7 @@ from evennia.commands.cmdsethandler import CmdSetHandler
from evennia.commands import cmdhandler
from evennia.utils import logger
from evennia.utils.utils import (variable_from_module, lazy_property,
make_iter, to_unicode)
make_iter, to_unicode, calledby)
_MULTISESSION_MODE = settings.MULTISESSION_MODE
@ -227,7 +227,9 @@ class DefaultObject(with_metaclass(TypeclassBase, ObjectDB)):
Also available as the `contents` property.
"""
return self.contents_cache.get(exclude=exclude)
con = self.contents_cache.get(exclude=exclude)
print "contents_get:", self, con, calledby()
return con
contents = property(contents_get)
@property