mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 14:07:16 +02:00
Made the proxy typeclass system work in principle, using a wrapper of the __new__ method for the class.
This commit is contained in:
parent
8314d8ba5e
commit
32e44dceab
7 changed files with 26 additions and 78 deletions
|
|
@ -51,7 +51,6 @@ class TypedObjectManager(idmapper.manager.SharedMemoryManager):
|
|||
Overload the standard get. This will limit itself to only
|
||||
return the current typeclass.
|
||||
"""
|
||||
print self.model
|
||||
kwargs.update({"db_typeclass_path":self.model.path})
|
||||
return super(TypedObjectManager, self).get(**kwargs)
|
||||
|
||||
|
|
|
|||
|
|
@ -740,7 +740,7 @@ class PermissionHandler(TagHandler):
|
|||
#------------------------------------------------------------
|
||||
|
||||
# imported for access by other
|
||||
from src.utils.idmapper.base import SharedMemoryModelBase
|
||||
#from src.utils.idmapper.base import SharedMemoryModelBase
|
||||
|
||||
#class TypeclassBase(SharedMemoryModelBase):
|
||||
# """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue