Fixed the rest of @examine. Attribute checks should work now.

This commit is contained in:
Andrew Bastien 2019-04-03 02:53:19 -04:00
parent 4fd99201b0
commit 3adc908ca2

View file

@ -2067,7 +2067,7 @@ class CmdExamine(ObjManipCommand):
""" """
if attrname: if attrname:
db_attr = [(attrname, obj.attributes.get(attrname))] db_attr = [(attrname, obj.attributes.get(attrname), None)]
try: try:
ndb_attr = [(attrname, object.__getattribute__(obj.ndb, attrname))] ndb_attr = [(attrname, object.__getattribute__(obj.ndb, attrname))]
except Exception: except Exception: