mirror of
https://github.com/evennia/evennia.git
synced 2026-03-22 15:56:30 +01:00
Some cleanups, properly marking the OOB stuff as WIP still. OOB is progressing but not yet functional or in its final form.
This commit is contained in:
parent
0ac2a58428
commit
5ef92b6bf8
4 changed files with 54 additions and 49 deletions
|
|
@ -120,9 +120,7 @@ class TypeClass(object):
|
|||
"""
|
||||
Transparently save data to the dbobj object in
|
||||
all situations. Note that this does not
|
||||
necessarily mean storing it to the database
|
||||
unless data is stored into a propname
|
||||
corresponding to a field on ObjectDB model.
|
||||
necessarily mean storing it to the database.
|
||||
"""
|
||||
#print "set %s -> %s" % (propname, value)
|
||||
if propname in PROTECTED:
|
||||
|
|
@ -138,6 +136,7 @@ class TypeClass(object):
|
|||
if dbobj:
|
||||
_SA(dbobj, propname, value)
|
||||
else:
|
||||
# only as a last resort do we save on the typeclass object
|
||||
_SA(self, propname, value)
|
||||
|
||||
def __eq__(self, other):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue