INFO web1 11:48:07 after_save_User被调用, user = <leancloud.object_._User object at 0x7f44d3fcc510>
INFO web1 11:48:07 checkAndLateInit_User被调用, user = <leancloud.object_._User object at 0x7f44d3fcc510>
INFO web1 11:48:07 user.deUser 为 not,创建新DEUser并关联
INFO web1 11:48:07 code: [('__class__', <type 'NoneType'>), ('__delattr__', <method-wrapper '__delattr__' of NoneType object at 0x91a870>), ('__doc__', None), ('__format__', <built-in method __format__ of NoneType object at 0x91a870>), ('__getattribute__', <method-wrapper '__getattribute__' of NoneType object at 0x91a870>), ('__hash__', <method-wrapper '__hash__' of NoneType object at 0x91a870>), ('__init__', <method-wrapper '__init__' of NoneType object at 0x91a870>), ('__new__', <built-in method __new__ of type object at 0x911420>), ('__reduce__', <built-in method __reduce__ of NoneType object at 0x91a870>), ('__reduce_ex__', <built-in method __reduce_ex__ of NoneType object at 0x91a870>), ('__repr__', <method-wrapper '__repr__' of NoneType object at 0x91a870>), ('__setattr__', <method-wrapper '__setattr__' of NoneType object at 0x91a870>), ('__sizeof__', <built-in method __sizeof__ of NoneType object at 0x91a870>), ('__str__', <method-wrapper '__str__' of NoneType object at 0x91a870>), ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x911920>)]
INFO web1 11:48:07 error: [('__class__', <type 'dict'>), ('__cmp__', <method-wrapper '__cmp__' of dict object at 0x7f44d3b64050>), ('__contains__', <built-in method __contains__ of dict object at 0x7f44d3b64050>), ('__delattr__', <method-wrapper '__delattr__' of dict object at 0x7f44d3b64050>), ('__delitem__', <method-wrapper '__delitem__' of dict object at 0x7f44d3b64050>), ('__doc__', "dict() -> new empty dictionary\ndict(mapping) -> new dictionary initialized from a mapping object's\n (key, value) pairs\ndict(iterable) -> new dictionary initialized as if via:\n d = {}\n for k, v in iterable:\n d[k] = v\ndict(**kwargs) -> new dictionary initialized with the name=value pairs\n in the keyword argument list. For example: dict(one=1, two=2)"), ('__eq__', <method-wrapper '__eq__' of dict object at 0x7f44d3b64050>), ('__format__', <built-in method __format__ of dict object at 0x7f44d3b64050>), ('__ge__', <method-wrapper '__ge__' of dict object at 0x7f44d3b64050>), ('__getattribute__', <method-wrapper '__getattribute__' of dict object at 0x7f44d3b64050>), ('__getitem__', <built-in method __getitem__ of dict object at 0x7f44d3b64050>), ('__gt__', <method-wrapper '__gt__' of dict object at 0x7f44d3b64050>), ('__hash__', None), ('__init__', <method-wrapper '__init__' of dict object at 0x7f44d3b64050>), ('__iter__', <method-wrapper '__iter__' of dict object at 0x7f44d3b64050>), ('__le__', <method-wrapper '__le__' of dict object at 0x7f44d3b64050>), ('__len__', <method-wrapper '__len__' of dict object at 0x7f44d3b64050>), ('__lt__', <method-wrapper '__lt__' of dict object at 0x7f44d3b64050>), ('__ne__', <method-wrapper '__ne__' of dict object at 0x7f44d3b64050>), ('__new__', <built-in method __new__ of type object at 0x918de0>), ('__reduce__', <built-in method __reduce__ of dict object at 0x7f44d3b64050>), ('__reduce_ex__', <built-in method __reduce_ex__ of dict object at 0x7f44d3b64050>), ('__repr__', <method-wrapper '__repr__' of dict object at 0x7f44d3b64050>), ('__setattr__', <method-wrapper '__setattr__' of dict object at 0x7f44d3b64050>), ('__setitem__', <method-wrapper '__setitem__' of dict object at 0x7f44d3b64050>), ('__sizeof__', <built-in method __sizeof__ of dict object at 0x7f44d3b64050>), ('__str__', <method-wrapper '__str__' of dict object at 0x7f44d3b64050>), ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x918de0>), ('clear', <built-in method clear of dict object at 0x7f44d3b64050>), ('copy', <built-in method copy of dict object at 0x7f44d3b64050>), ('fromkeys', <built-in method fromkeys of type object at 0x918de0>), ('get', <built-in method get of dict object at 0x7f44d3b64050>), ('has_key', <built-in method has_key of dict object at 0x7f44d3b64050>), ('items', <built-in method items of dict object at 0x7f44d3b64050>), ('iteritems', <built-in method iteritems of dict object at 0x7f44d3b64050>), ('iterkeys', <built-in method iterkeys of dict object at 0x7f44d3b64050>), ('itervalues', <built-in method itervalues of dict object at 0x7f44d3b64050>), ('keys', <built-in method keys of dict object at 0x7f44d3b64050>), ('pop', <built-in method pop of dict object at 0x7f44d3b64050>), ('popitem', <built-in method popitem of dict object at 0x7f44d3b64050>), ('setdefault', <built-in method setdefault of dict object at 0x7f44d3b64050>), ('update', <built-in method update of dict object at 0x7f44d3b64050>), ('values', <built-in method values of dict object at 0x7f44d3b64050>), ('viewitems', <built-in method viewitems of dict object at 0x7f44d3b64050>), ('viewkeys', <built-in method viewkeys of dict object at 0x7f44d3b64050>), ('viewvalues', <built-in method viewvalues of dict object at 0x7f44d3b64050>)]
INFO web1 11:48:07 after_save_DEUser被调用, deUser = <leancloud.object_.DEUser object at 0x7f44d3fccfd0>
INFO web1 11:48:07 checkAndLateInit_DEUser被调用, deUser = <leancloud.object_.DEUser object at 0x7f44d3fccfd0>
INFO web1 11:48:07 deUser.deck为 not,创建新Deck并关联
最后3条记录是我写的别的hook的函数执行的print,也可以看出来deUser的更新是成功的,但是_User.deUser段仍然为空