Implemented typeclass deleting; you can now do del obj.testval and expect the underlying attribute to be safely deleted from the database. Also fixed some reference errors when assigning to db/ndb properties on objects. Resolves issue 116. Fixed a bug in the command-testing system, so the few command tests that are defined should all work now.

This commit is contained in:
Griatch 2011-02-05 18:06:18 +00:00
parent 19538ff00b
commit 45941e0c69
6 changed files with 76 additions and 33 deletions

View file

@ -133,7 +133,7 @@ class SessionBase(object):
SESSIONS.add_loggedin_session(self)
#call hook
self.at_login()
self.at_login(player)
def session_disconnect(self):
"""