Some further work on the OOBhandler mechanism.

This commit is contained in:
Griatch 2013-01-04 10:35:29 +01:00
parent b0b0fa7983
commit 58c010ef46
4 changed files with 57 additions and 37 deletions

View file

@ -1585,7 +1585,7 @@ class CmdExamine(ObjManipCommand):
else:
db_attr = [(attr.key, attr.value) for attr in ObjAttribute.objects.filter(db_obj=obj)]
try:
ndb_attr = [(aname, avalue) for aname, avalue in obj.ndb.__dict__.items()]
ndb_attr = [(aname, avalue) for aname, avalue in obj.ndb.__dict__.items() if not aname.startswith("_")]
except Exception:
ndb_attr = None
string = ""